gsintegrations 0.0.493 → 0.0.495

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/bundle.cjs.js +2731 -1554
  2. package/dist/bundle.cjs.js.map +2 -2
  3. package/dist/bundle.esm.js +2718 -1555
  4. package/dist/bundle.esm.js.map +2 -2
  5. package/dist/index.d.ts +981 -663
  6. package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.d.ts +32 -19
  7. package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.types.d.ts +123 -84
  8. package/dist/types/pages/FinancialAccountsList/components/FinancialOverviewCard.d.ts +3 -1
  9. package/dist/types/pages/FinancialApp/FinancialAccountsPage.d.ts +10 -0
  10. package/dist/types/pages/FinancialApp/FinancialAddSheet.d.ts +9 -0
  11. package/dist/types/pages/FinancialApp/FinancialApp.types.d.ts +64 -0
  12. package/dist/types/pages/FinancialApp/FinancialAppShell.d.ts +4 -0
  13. package/dist/types/pages/FinancialApp/FinancialBottomNav.d.ts +16 -0
  14. package/dist/types/pages/FinancialApp/FinancialMonthlyFeePage.d.ts +17 -0
  15. package/dist/types/pages/FinancialApp/FinancialMovementSegment.d.ts +8 -0
  16. package/dist/types/pages/FinancialApp/FinancialSectionsCustomize.d.ts +11 -0
  17. package/dist/types/pages/FinancialApp/FinancialSummaryHeader.d.ts +32 -0
  18. package/dist/types/pages/FinancialApp/financialWidgets.catalog.d.ts +41 -0
  19. package/dist/types/pages/FinancialApp/index.d.ts +14 -0
  20. package/dist/types/pages/FinancialApp/useFinancialChrome.d.ts +6 -0
  21. package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +9 -9
  22. package/dist/types/pages/FinancialRegisterPage/useFinancialRegister.d.ts +2 -2
  23. package/dist/types/pages/FinancialTransparencyPage/FinancialTransparencyPage.types.d.ts +163 -160
  24. package/dist/types/pages/FinancialTransparencyPage/useFinancialTransparencyPage.d.ts +45 -45
  25. package/dist/types/pages/HomePage/HomePage.types.d.ts +10 -0
  26. package/dist/types/pages/HomePage/components/HomeMenu.d.ts +2 -2
  27. package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +4 -4
  28. package/dist/types/pages/HomePage/components/ProfileSelectorDrawer.d.ts +4 -0
  29. package/dist/types/pages/HomePage/components/TopBar.d.ts +4 -0
  30. package/dist/types/pages/HomePage/components/TopBar.types.d.ts +26 -0
  31. package/dist/types/pages/HomePage/components/useProfileSelector.d.ts +2 -0
  32. package/dist/types/pages/HomePage/components/useTopBar.d.ts +4 -0
  33. package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +1 -1
  34. package/dist/types/pages/IncomeListPage/IncomeListPage.d.ts +4 -0
  35. package/dist/types/pages/IncomeListPage/IncomeListPage.types.d.ts +12 -0
  36. package/dist/types/pages/InviteLandingPage/InviteLandingPage.fixtures.d.ts +4 -4
  37. package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +12 -12
  38. package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -1
  39. package/dist/types/pages/MediumFinancialTransparencyPage/MediumFinancialTransparencyPage.types.d.ts +234 -230
  40. package/dist/types/pages/MediumFinancialTransparencyPage/useMediumFinancialTransparencyPage.d.ts +45 -45
  41. package/dist/types/pages/MonthlyFeePaymentsManagementPage/MonthlyFeePaymentsManagementPage.types.d.ts +15 -12
  42. package/dist/types/pages/MonthlyFeePaymentsManagementPage/useMonthlyFeePaymentsManagementPage.d.ts +5 -4
  43. package/dist/types/pages/OutcomeListPage/OutcomeListPage.d.ts +4 -0
  44. package/dist/types/pages/OutcomeListPage/OutcomeListPage.types.d.ts +12 -0
  45. package/dist/types/pages/SystemSettingsPage/SystemSettingsPage.types.d.ts +12 -0
  46. package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroDialog.d.ts +10 -0
  47. package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroSettingsCard.d.ts +7 -0
  48. package/dist/types/pages/SystemSettingsPage/components/RestoreTerreiroDialog.d.ts +10 -0
  49. package/dist/types/pages/TerreiroSearchPage/TerreiroSearchPage.types.d.ts +10 -10
  50. package/dist/types/pages/TerreiroSearchPage/useTerreiroSearchPage.d.ts +1 -1
  51. package/dist/types/pages/index.d.ts +1 -0
  52. package/package.json +1 -1
@@ -1,6 +1,16 @@
1
1
  import React from "react";
2
2
  declare const _default: React.NamedExoticComponent<{
3
3
  onBack: () => void;
4
+ income: {
5
+ month: number;
6
+ year: number;
7
+ totalAmount: string | number;
8
+ };
9
+ outcome: {
10
+ month: number;
11
+ year: number;
12
+ totalAmount: string | number;
13
+ };
4
14
  monthlyFee: {
5
15
  id: string;
6
16
  monthlyFee: string | number;
@@ -36,22 +46,17 @@ declare const _default: React.NamedExoticComponent<{
36
46
  onSelectAccount: (args_0: string) => void;
37
47
  onAddAccount: () => void;
38
48
  onEditMonthlyFee: (args_0: string) => void;
39
- outcome: {
40
- month: number;
41
- year: number;
42
- totalAmount: string | number;
43
- };
44
- income: {
45
- month: number;
46
- year: number;
47
- totalAmount: string | number;
48
- };
49
49
  periodLabel?: string | undefined;
50
50
  periodInputValue?: string | undefined;
51
51
  periodInputMin?: string | undefined;
52
52
  periodInputMax?: string | undefined;
53
53
  onPeriodInputChange?: ((args_0: string) => void) | undefined;
54
54
  onResetToCurrentPeriod?: (() => void) | undefined;
55
+ contributionImpact?: unknown;
56
+ sharedExpenses?: unknown;
57
+ formattedMonthlyFee?: string | undefined;
58
+ formattedContributionPerMember?: string | undefined;
59
+ formattedTotalSharedExpenses?: string | undefined;
55
60
  onViewMyMonthlyFee?: (() => void) | undefined;
56
61
  onSelectMonthlyFee?: ((args_0: string) => void) | undefined;
57
62
  onClickIncome?: (() => void) | undefined;
@@ -59,19 +64,14 @@ declare const _default: React.NamedExoticComponent<{
59
64
  isTerreiro?: boolean | undefined;
60
65
  financialOverview?: {
61
66
  overview: {
62
- totalIncome: number;
63
- totalOutcome: number;
64
- netFlow: number;
65
- totalBalance: number;
66
67
  period: {
67
68
  end: string;
68
69
  start: string;
69
70
  };
70
- };
71
- corrections: {
72
- incomeCorrections: number;
73
- outcomeCorrections: number;
74
- totalCorrections: number;
71
+ totalIncome: number;
72
+ totalOutcome: number;
73
+ netFlow: number;
74
+ totalBalance: number;
75
75
  };
76
76
  formatted: {
77
77
  totalIncome: string;
@@ -81,6 +81,11 @@ declare const _default: React.NamedExoticComponent<{
81
81
  memberPaymentsExpected?: string | undefined;
82
82
  memberPaymentsCollected?: string | undefined;
83
83
  };
84
+ corrections: {
85
+ incomeCorrections: number;
86
+ outcomeCorrections: number;
87
+ totalCorrections: number;
88
+ };
84
89
  memberPayments?: {
85
90
  totalMembers: number;
86
91
  paidMembers: number;
@@ -111,5 +116,13 @@ declare const _default: React.NamedExoticComponent<{
111
116
  isExportingFinancialReport?: boolean | undefined;
112
117
  onExportFinancialReport?: (() => void) | undefined;
113
118
  financialReportExportError?: string | null | undefined;
119
+ audience?: "medium" | "manager" | undefined;
120
+ widgetVisibility?: Record<string, boolean> | undefined;
121
+ widgetOrder?: string[] | undefined;
122
+ onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined;
123
+ onWidgetOrderChange?: ((args_0: string[]) => void) | undefined;
124
+ formattedProjectedSharedExpenses?: string | undefined;
125
+ isTransparencyLoading?: boolean | undefined;
126
+ transparencyPeriodLabel?: string | undefined;
114
127
  }>;
115
128
  export default _default;
@@ -279,23 +279,23 @@ export declare const FinancialOverviewSchema: z.ZodObject<{
279
279
  start: string;
280
280
  }>;
281
281
  }, "strip", z.ZodTypeAny, {
282
- totalIncome: number;
283
- totalOutcome: number;
284
- netFlow: number;
285
- totalBalance: number;
286
282
  period: {
287
283
  end: string;
288
284
  start: string;
289
285
  };
290
- }, {
291
286
  totalIncome: number;
292
287
  totalOutcome: number;
293
288
  netFlow: number;
294
289
  totalBalance: number;
290
+ }, {
295
291
  period: {
296
292
  end: string;
297
293
  start: string;
298
294
  };
295
+ totalIncome: number;
296
+ totalOutcome: number;
297
+ netFlow: number;
298
+ totalBalance: number;
299
299
  }>;
300
300
  corrections: z.ZodObject<{
301
301
  incomeCorrections: z.ZodNumber;
@@ -394,19 +394,14 @@ export declare const FinancialOverviewSchema: z.ZodObject<{
394
394
  }>;
395
395
  }, "strip", z.ZodTypeAny, {
396
396
  overview: {
397
- totalIncome: number;
398
- totalOutcome: number;
399
- netFlow: number;
400
- totalBalance: number;
401
397
  period: {
402
398
  end: string;
403
399
  start: string;
404
400
  };
405
- };
406
- corrections: {
407
- incomeCorrections: number;
408
- outcomeCorrections: number;
409
- totalCorrections: number;
401
+ totalIncome: number;
402
+ totalOutcome: number;
403
+ netFlow: number;
404
+ totalBalance: number;
410
405
  };
411
406
  formatted: {
412
407
  totalIncome: string;
@@ -416,6 +411,11 @@ export declare const FinancialOverviewSchema: z.ZodObject<{
416
411
  memberPaymentsExpected?: string | undefined;
417
412
  memberPaymentsCollected?: string | undefined;
418
413
  };
414
+ corrections: {
415
+ incomeCorrections: number;
416
+ outcomeCorrections: number;
417
+ totalCorrections: number;
418
+ };
419
419
  memberPayments?: {
420
420
  totalMembers: number;
421
421
  paidMembers: number;
@@ -440,19 +440,14 @@ export declare const FinancialOverviewSchema: z.ZodObject<{
440
440
  }[] | undefined;
441
441
  }, {
442
442
  overview: {
443
- totalIncome: number;
444
- totalOutcome: number;
445
- netFlow: number;
446
- totalBalance: number;
447
443
  period: {
448
444
  end: string;
449
445
  start: string;
450
446
  };
451
- };
452
- corrections: {
453
- incomeCorrections: number;
454
- outcomeCorrections: number;
455
- totalCorrections: number;
447
+ totalIncome: number;
448
+ totalOutcome: number;
449
+ netFlow: number;
450
+ totalBalance: number;
456
451
  };
457
452
  formatted: {
458
453
  totalIncome: string;
@@ -462,6 +457,11 @@ export declare const FinancialOverviewSchema: z.ZodObject<{
462
457
  memberPaymentsExpected?: string | undefined;
463
458
  memberPaymentsCollected?: string | undefined;
464
459
  };
460
+ corrections: {
461
+ incomeCorrections: number;
462
+ outcomeCorrections: number;
463
+ totalCorrections: number;
464
+ };
465
465
  memberPayments?: {
466
466
  totalMembers: number;
467
467
  paidMembers: number;
@@ -665,23 +665,23 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
665
665
  start: string;
666
666
  }>;
667
667
  }, "strip", z.ZodTypeAny, {
668
- totalIncome: number;
669
- totalOutcome: number;
670
- netFlow: number;
671
- totalBalance: number;
672
668
  period: {
673
669
  end: string;
674
670
  start: string;
675
671
  };
676
- }, {
677
672
  totalIncome: number;
678
673
  totalOutcome: number;
679
674
  netFlow: number;
680
675
  totalBalance: number;
676
+ }, {
681
677
  period: {
682
678
  end: string;
683
679
  start: string;
684
680
  };
681
+ totalIncome: number;
682
+ totalOutcome: number;
683
+ netFlow: number;
684
+ totalBalance: number;
685
685
  }>;
686
686
  corrections: z.ZodObject<{
687
687
  incomeCorrections: z.ZodNumber;
@@ -780,19 +780,14 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
780
780
  }>;
781
781
  }, "strip", z.ZodTypeAny, {
782
782
  overview: {
783
- totalIncome: number;
784
- totalOutcome: number;
785
- netFlow: number;
786
- totalBalance: number;
787
783
  period: {
788
784
  end: string;
789
785
  start: string;
790
786
  };
791
- };
792
- corrections: {
793
- incomeCorrections: number;
794
- outcomeCorrections: number;
795
- totalCorrections: number;
787
+ totalIncome: number;
788
+ totalOutcome: number;
789
+ netFlow: number;
790
+ totalBalance: number;
796
791
  };
797
792
  formatted: {
798
793
  totalIncome: string;
@@ -802,6 +797,11 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
802
797
  memberPaymentsExpected?: string | undefined;
803
798
  memberPaymentsCollected?: string | undefined;
804
799
  };
800
+ corrections: {
801
+ incomeCorrections: number;
802
+ outcomeCorrections: number;
803
+ totalCorrections: number;
804
+ };
805
805
  memberPayments?: {
806
806
  totalMembers: number;
807
807
  paidMembers: number;
@@ -826,19 +826,14 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
826
826
  }[] | undefined;
827
827
  }, {
828
828
  overview: {
829
- totalIncome: number;
830
- totalOutcome: number;
831
- netFlow: number;
832
- totalBalance: number;
833
829
  period: {
834
830
  end: string;
835
831
  start: string;
836
832
  };
837
- };
838
- corrections: {
839
- incomeCorrections: number;
840
- outcomeCorrections: number;
841
- totalCorrections: number;
833
+ totalIncome: number;
834
+ totalOutcome: number;
835
+ netFlow: number;
836
+ totalBalance: number;
842
837
  };
843
838
  formatted: {
844
839
  totalIncome: string;
@@ -848,6 +843,11 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
848
843
  memberPaymentsExpected?: string | undefined;
849
844
  memberPaymentsCollected?: string | undefined;
850
845
  };
846
+ corrections: {
847
+ incomeCorrections: number;
848
+ outcomeCorrections: number;
849
+ totalCorrections: number;
850
+ };
851
851
  memberPayments?: {
852
852
  totalMembers: number;
853
853
  paidMembers: number;
@@ -884,8 +884,31 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
884
884
  isExportingFinancialReport: z.ZodOptional<z.ZodBoolean>;
885
885
  onExportFinancialReport: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
886
886
  financialReportExportError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
+ audience: z.ZodOptional<z.ZodEnum<["manager", "medium"]>>;
888
+ widgetVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
889
+ widgetOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
890
+ onWidgetVisibilityChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, z.ZodVoid>>;
891
+ onWidgetOrderChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodString, "many">], null>, z.ZodVoid>>;
892
+ contributionImpact: z.ZodOptional<z.ZodUnknown>;
893
+ sharedExpenses: z.ZodOptional<z.ZodUnknown>;
894
+ formattedContributionPerMember: z.ZodOptional<z.ZodString>;
895
+ formattedMonthlyFee: z.ZodOptional<z.ZodString>;
896
+ formattedTotalSharedExpenses: z.ZodOptional<z.ZodString>;
897
+ formattedProjectedSharedExpenses: z.ZodOptional<z.ZodString>;
898
+ isTransparencyLoading: z.ZodOptional<z.ZodBoolean>;
899
+ transparencyPeriodLabel: z.ZodOptional<z.ZodString>;
887
900
  }, "strip", z.ZodTypeAny, {
888
901
  onBack: () => void;
902
+ income: {
903
+ month: number;
904
+ year: number;
905
+ totalAmount: string | number;
906
+ };
907
+ outcome: {
908
+ month: number;
909
+ year: number;
910
+ totalAmount: string | number;
911
+ };
889
912
  monthlyFee: {
890
913
  id: string;
891
914
  monthlyFee: string | number;
@@ -921,22 +944,17 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
921
944
  onSelectAccount: (args_0: string) => void;
922
945
  onAddAccount: () => void;
923
946
  onEditMonthlyFee: (args_0: string) => void;
924
- outcome: {
925
- month: number;
926
- year: number;
927
- totalAmount: string | number;
928
- };
929
- income: {
930
- month: number;
931
- year: number;
932
- totalAmount: string | number;
933
- };
934
947
  periodLabel?: string | undefined;
935
948
  periodInputValue?: string | undefined;
936
949
  periodInputMin?: string | undefined;
937
950
  periodInputMax?: string | undefined;
938
951
  onPeriodInputChange?: ((args_0: string) => void) | undefined;
939
952
  onResetToCurrentPeriod?: (() => void) | undefined;
953
+ contributionImpact?: unknown;
954
+ sharedExpenses?: unknown;
955
+ formattedMonthlyFee?: string | undefined;
956
+ formattedContributionPerMember?: string | undefined;
957
+ formattedTotalSharedExpenses?: string | undefined;
940
958
  onViewMyMonthlyFee?: (() => void) | undefined;
941
959
  onSelectMonthlyFee?: ((args_0: string) => void) | undefined;
942
960
  onClickIncome?: (() => void) | undefined;
@@ -944,19 +962,14 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
944
962
  isTerreiro?: boolean | undefined;
945
963
  financialOverview?: {
946
964
  overview: {
947
- totalIncome: number;
948
- totalOutcome: number;
949
- netFlow: number;
950
- totalBalance: number;
951
965
  period: {
952
966
  end: string;
953
967
  start: string;
954
968
  };
955
- };
956
- corrections: {
957
- incomeCorrections: number;
958
- outcomeCorrections: number;
959
- totalCorrections: number;
969
+ totalIncome: number;
970
+ totalOutcome: number;
971
+ netFlow: number;
972
+ totalBalance: number;
960
973
  };
961
974
  formatted: {
962
975
  totalIncome: string;
@@ -966,6 +979,11 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
966
979
  memberPaymentsExpected?: string | undefined;
967
980
  memberPaymentsCollected?: string | undefined;
968
981
  };
982
+ corrections: {
983
+ incomeCorrections: number;
984
+ outcomeCorrections: number;
985
+ totalCorrections: number;
986
+ };
969
987
  memberPayments?: {
970
988
  totalMembers: number;
971
989
  paidMembers: number;
@@ -996,8 +1014,26 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
996
1014
  isExportingFinancialReport?: boolean | undefined;
997
1015
  onExportFinancialReport?: (() => void) | undefined;
998
1016
  financialReportExportError?: string | null | undefined;
1017
+ audience?: "medium" | "manager" | undefined;
1018
+ widgetVisibility?: Record<string, boolean> | undefined;
1019
+ widgetOrder?: string[] | undefined;
1020
+ onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined;
1021
+ onWidgetOrderChange?: ((args_0: string[]) => void) | undefined;
1022
+ formattedProjectedSharedExpenses?: string | undefined;
1023
+ isTransparencyLoading?: boolean | undefined;
1024
+ transparencyPeriodLabel?: string | undefined;
999
1025
  }, {
1000
1026
  onBack: () => void;
1027
+ income: {
1028
+ month: number;
1029
+ year: number;
1030
+ totalAmount: string | number;
1031
+ };
1032
+ outcome: {
1033
+ month: number;
1034
+ year: number;
1035
+ totalAmount: string | number;
1036
+ };
1001
1037
  monthlyFee: {
1002
1038
  id: string;
1003
1039
  monthlyFee: string | number;
@@ -1033,22 +1069,17 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1033
1069
  onSelectAccount: (args_0: string) => void;
1034
1070
  onAddAccount: () => void;
1035
1071
  onEditMonthlyFee: (args_0: string) => void;
1036
- outcome: {
1037
- month: number;
1038
- year: number;
1039
- totalAmount: string | number;
1040
- };
1041
- income: {
1042
- month: number;
1043
- year: number;
1044
- totalAmount: string | number;
1045
- };
1046
1072
  periodLabel?: string | undefined;
1047
1073
  periodInputValue?: string | undefined;
1048
1074
  periodInputMin?: string | undefined;
1049
1075
  periodInputMax?: string | undefined;
1050
1076
  onPeriodInputChange?: ((args_0: string) => void) | undefined;
1051
1077
  onResetToCurrentPeriod?: (() => void) | undefined;
1078
+ contributionImpact?: unknown;
1079
+ sharedExpenses?: unknown;
1080
+ formattedMonthlyFee?: string | undefined;
1081
+ formattedContributionPerMember?: string | undefined;
1082
+ formattedTotalSharedExpenses?: string | undefined;
1052
1083
  onViewMyMonthlyFee?: (() => void) | undefined;
1053
1084
  onSelectMonthlyFee?: ((args_0: string) => void) | undefined;
1054
1085
  onClickIncome?: (() => void) | undefined;
@@ -1056,19 +1087,14 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1056
1087
  isTerreiro?: boolean | undefined;
1057
1088
  financialOverview?: {
1058
1089
  overview: {
1059
- totalIncome: number;
1060
- totalOutcome: number;
1061
- netFlow: number;
1062
- totalBalance: number;
1063
1090
  period: {
1064
1091
  end: string;
1065
1092
  start: string;
1066
1093
  };
1067
- };
1068
- corrections: {
1069
- incomeCorrections: number;
1070
- outcomeCorrections: number;
1071
- totalCorrections: number;
1094
+ totalIncome: number;
1095
+ totalOutcome: number;
1096
+ netFlow: number;
1097
+ totalBalance: number;
1072
1098
  };
1073
1099
  formatted: {
1074
1100
  totalIncome: string;
@@ -1078,6 +1104,11 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1078
1104
  memberPaymentsExpected?: string | undefined;
1079
1105
  memberPaymentsCollected?: string | undefined;
1080
1106
  };
1107
+ corrections: {
1108
+ incomeCorrections: number;
1109
+ outcomeCorrections: number;
1110
+ totalCorrections: number;
1111
+ };
1081
1112
  memberPayments?: {
1082
1113
  totalMembers: number;
1083
1114
  paidMembers: number;
@@ -1108,6 +1139,14 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1108
1139
  isExportingFinancialReport?: boolean | undefined;
1109
1140
  onExportFinancialReport?: (() => void) | undefined;
1110
1141
  financialReportExportError?: string | null | undefined;
1142
+ audience?: "medium" | "manager" | undefined;
1143
+ widgetVisibility?: Record<string, boolean> | undefined;
1144
+ widgetOrder?: string[] | undefined;
1145
+ onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined;
1146
+ onWidgetOrderChange?: ((args_0: string[]) => void) | undefined;
1147
+ formattedProjectedSharedExpenses?: string | undefined;
1148
+ isTransparencyLoading?: boolean | undefined;
1149
+ transparencyPeriodLabel?: string | undefined;
1111
1150
  }>;
1112
1151
  export type BankAccountOption = z.infer<typeof BankAccountOptionSchema>;
1113
1152
  export type ReceivingAccount = z.infer<typeof ReceivingAccountSchema>;
@@ -55,6 +55,8 @@ export interface FinancialOverviewCardProps {
55
55
  defaultExpanded?: boolean;
56
56
  /** Controls visibility of member payments section */
57
57
  showMemberPayments?: boolean;
58
+ /** Hides the title and total balance when the dashboard hero already shows them */
59
+ hideHeadline?: boolean;
58
60
  }
59
- declare const FinancialOverviewCard: React.MemoExoticComponent<({ data, isLoading, formatCurrency, onClick, defaultExpanded, showMemberPayments, }: FinancialOverviewCardProps) => React.JSX.Element>;
61
+ declare const FinancialOverviewCard: React.MemoExoticComponent<({ data, isLoading, formatCurrency, onClick, defaultExpanded, showMemberPayments, hideHeadline, }: FinancialOverviewCardProps) => React.JSX.Element>;
60
62
  export default FinancialOverviewCard;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import type { FinancialAccount } from "../FinancialAccountsList/FinancialAccountsList.types";
3
+ type FinancialAccountsPageProps = {
4
+ accounts: FinancialAccount[];
5
+ onBack?: () => void;
6
+ onSelectAccount: (id: string) => void;
7
+ onAddAccount: () => void;
8
+ };
9
+ declare const FinancialAccountsPage: React.FC<FinancialAccountsPageProps>;
10
+ export default FinancialAccountsPage;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type FinancialAddSheetProps = {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ onAddContribution?: () => void;
6
+ onAddExpense?: () => void;
7
+ };
8
+ declare const FinancialAddSheet: React.FC<FinancialAddSheetProps>;
9
+ export default FinancialAddSheet;
@@ -0,0 +1,64 @@
1
+ import type { ReactNode } from "react";
2
+ import * as z from "zod";
3
+ export declare const FinancialAudienceSchema: z.ZodEnum<["manager", "medium"]>;
4
+ export type FinancialAudience = z.infer<typeof FinancialAudienceSchema>;
5
+ export declare const FinancialTabSchema: z.ZodEnum<["home", "movements", "accounts", "monthlyFee"]>;
6
+ export type FinancialTab = z.infer<typeof FinancialTabSchema>;
7
+ export declare const FinancialAppShellPropsSchema: z.ZodObject<{
8
+ audience: z.ZodEnum<["manager", "medium"]>;
9
+ activeTab: z.ZodEnum<["home", "movements", "accounts", "monthlyFee"]>;
10
+ showBottomNav: z.ZodOptional<z.ZodBoolean>;
11
+ showMensalidade: z.ZodOptional<z.ZodBoolean>;
12
+ showAdd: z.ZodOptional<z.ZodBoolean>;
13
+ onExit: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
14
+ onNavigateHome: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
15
+ onNavigateMovements: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
16
+ onNavigateAccounts: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
17
+ onNavigateMonthlyFee: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
18
+ onAddContribution: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
19
+ onAddExpense: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
20
+ children: z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ audience: "medium" | "manager";
23
+ activeTab: "home" | "monthlyFee" | "movements" | "accounts";
24
+ children?: ReactNode;
25
+ onExit?: (() => void) | undefined;
26
+ onNavigateHome?: (() => void) | undefined;
27
+ showBottomNav?: boolean | undefined;
28
+ showMensalidade?: boolean | undefined;
29
+ showAdd?: boolean | undefined;
30
+ onNavigateMovements?: (() => void) | undefined;
31
+ onNavigateAccounts?: (() => void) | undefined;
32
+ onNavigateMonthlyFee?: (() => void) | undefined;
33
+ onAddContribution?: (() => void) | undefined;
34
+ onAddExpense?: (() => void) | undefined;
35
+ }, {
36
+ audience: "medium" | "manager";
37
+ activeTab: "home" | "monthlyFee" | "movements" | "accounts";
38
+ children?: ReactNode;
39
+ onExit?: (() => void) | undefined;
40
+ onNavigateHome?: (() => void) | undefined;
41
+ showBottomNav?: boolean | undefined;
42
+ showMensalidade?: boolean | undefined;
43
+ showAdd?: boolean | undefined;
44
+ onNavigateMovements?: (() => void) | undefined;
45
+ onNavigateAccounts?: (() => void) | undefined;
46
+ onNavigateMonthlyFee?: (() => void) | undefined;
47
+ onAddContribution?: (() => void) | undefined;
48
+ onAddExpense?: (() => void) | undefined;
49
+ }>;
50
+ export type FinancialAppShellProps = {
51
+ audience: FinancialAudience;
52
+ activeTab: FinancialTab;
53
+ showBottomNav?: boolean;
54
+ showMensalidade?: boolean;
55
+ showAdd?: boolean;
56
+ onExit?: () => void;
57
+ onNavigateHome?: () => void;
58
+ onNavigateMovements?: () => void;
59
+ onNavigateAccounts?: () => void;
60
+ onNavigateMonthlyFee?: () => void;
61
+ onAddContribution?: () => void;
62
+ onAddExpense?: () => void;
63
+ children: ReactNode;
64
+ };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { FinancialAppShellProps } from "./FinancialApp.types";
3
+ declare const FinancialAppShell: React.FC<FinancialAppShellProps>;
4
+ export default FinancialAppShell;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import type { FinancialAudience, FinancialTab } from "./FinancialApp.types";
3
+ export declare const FINANCIAL_BOTTOM_NAV_HEIGHT = 52;
4
+ export declare const FINANCIAL_BOTTOM_NAV_FLOAT_MB = 16;
5
+ export declare const FINANCIAL_BOTTOM_NAV_CLEARANCE: number;
6
+ type FinancialBottomNavProps = {
7
+ audience: FinancialAudience;
8
+ activeTab: FinancialTab;
9
+ showMensalidade?: boolean;
10
+ onNavigateHome?: () => void;
11
+ onNavigateMovements?: () => void;
12
+ onNavigateAccounts?: () => void;
13
+ onNavigateMonthlyFee?: () => void;
14
+ };
15
+ declare const FinancialBottomNav: React.FC<FinancialBottomNavProps>;
16
+ export default FinancialBottomNav;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import ReceiptSubmissionCard from "../MediumFinancialTransparencyPage/components/ReceiptSubmissionCard";
3
+ import { type FinancialSummaryHeaderProps } from "./FinancialSummaryHeader";
4
+ export type FinancialMonthlyFeePageProps = {
5
+ formatCurrency: (amount: number | string) => string;
6
+ monthlyFee: number | string;
7
+ dueDay: string | number;
8
+ paymentMethod: string;
9
+ receivingAccount?: string | null;
10
+ onBack?: () => void;
11
+ onEdit?: () => void;
12
+ summary?: FinancialSummaryHeaderProps;
13
+ receiptForm?: React.ComponentProps<typeof ReceiptSubmissionCard>;
14
+ children?: React.ReactNode;
15
+ };
16
+ declare const FinancialMonthlyFeePage: React.FC<FinancialMonthlyFeePageProps>;
17
+ export default FinancialMonthlyFeePage;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export type FinancialMovementKind = "income" | "outcome";
3
+ type FinancialMovementSegmentProps = {
4
+ value: FinancialMovementKind;
5
+ onChange: (kind: FinancialMovementKind) => void;
6
+ };
7
+ declare const FinancialMovementSegment: React.FC<FinancialMovementSegmentProps>;
8
+ export default FinancialMovementSegment;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type FinancialWidgetId, type FinancialWidgetOrder, type FinancialWidgetProfile, type FinancialWidgetVisibilityMap } from "./financialWidgets.catalog";
3
+ type FinancialSectionsCustomizeProps = {
4
+ profile: FinancialWidgetProfile;
5
+ visibility?: Partial<FinancialWidgetVisibilityMap> | null;
6
+ order?: FinancialWidgetOrder | null;
7
+ onVisibilityChange?: (id: FinancialWidgetId, visible: boolean) => void;
8
+ onOrderChange?: (order: FinancialWidgetOrder) => void;
9
+ };
10
+ declare const FinancialSectionsCustomize: React.FC<FinancialSectionsCustomizeProps>;
11
+ export default FinancialSectionsCustomize;