@churchapps/apphelper 0.6.14 → 0.6.16
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/components/DisplayBox.d.ts +1 -1
- package/dist/components/DisplayBox.d.ts.map +1 -1
- package/dist/components/DisplayBox.js +2 -4
- package/dist/components/DisplayBox.js.map +1 -1
- package/dist/components/ErrorMessages.d.ts.map +1 -1
- package/dist/components/ErrorMessages.js +1 -1
- package/dist/components/ErrorMessages.js.map +1 -1
- package/dist/components/ExportLink.d.ts.map +1 -1
- package/dist/components/ExportLink.js +10 -10
- package/dist/components/ExportLink.js.map +1 -1
- package/dist/components/FloatingSupport.js.map +1 -1
- package/dist/components/FormCardPayment.d.ts.map +1 -1
- package/dist/components/FormCardPayment.js +20 -5
- package/dist/components/FormCardPayment.js.map +1 -1
- package/dist/components/FormSubmissionEdit.d.ts.map +1 -1
- package/dist/components/FormSubmissionEdit.js +8 -10
- package/dist/components/FormSubmissionEdit.js.map +1 -1
- package/dist/components/HelpIcon.d.ts.map +1 -1
- package/dist/components/HelpIcon.js.map +1 -1
- package/dist/components/ImageEditor.d.ts.map +1 -1
- package/dist/components/ImageEditor.js +10 -10
- package/dist/components/ImageEditor.js.map +1 -1
- package/dist/components/InputBox.d.ts +2 -1
- package/dist/components/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox.js +5 -7
- package/dist/components/InputBox.js.map +1 -1
- package/dist/components/Loading.d.ts.map +1 -1
- package/dist/components/Loading.js.map +1 -1
- package/dist/components/PageHeader.js +14 -14
- package/dist/components/PersonAvatar.d.ts.map +1 -1
- package/dist/components/PersonAvatar.js +9 -16
- package/dist/components/PersonAvatar.js.map +1 -1
- package/dist/components/QuestionEdit.js +3 -3
- package/dist/components/QuestionEdit.js.map +1 -1
- package/dist/components/SmallButton.d.ts.map +1 -1
- package/dist/components/SmallButton.js +2 -1
- package/dist/components/SmallButton.js.map +1 -1
- package/dist/components/SupportModal.js.map +1 -1
- package/dist/components/gallery/GalleryModal.js +10 -10
- package/dist/components/gallery/GalleryModal.js.map +1 -1
- package/dist/components/gallery/StockPhotos.js +12 -12
- package/dist/components/gallery/StockPhotos.js.map +1 -1
- package/dist/components/header/Banner.d.ts.map +1 -1
- package/dist/components/header/Banner.js.map +1 -1
- package/dist/components/header/PrimaryMenu.js +4 -4
- package/dist/components/header/PrimaryMenu.js.map +1 -1
- package/dist/components/header/SecondaryMenu.d.ts.map +1 -1
- package/dist/components/header/SecondaryMenu.js.map +1 -1
- package/dist/components/header/SecondaryMenuAlt.d.ts.map +1 -1
- package/dist/components/header/SecondaryMenuAlt.js.map +1 -1
- package/dist/components/header/SiteHeader.d.ts.map +1 -1
- package/dist/components/header/SiteHeader.js +7 -7
- package/dist/components/header/SiteHeader.js.map +1 -1
- package/dist/components/header/SupportDrawer.js +1 -1
- package/dist/components/header/SupportDrawer.js.map +1 -1
- package/dist/components/notes/AddNote.js +14 -14
- package/dist/components/notes/Note.d.ts.map +1 -1
- package/dist/components/notes/Note.js +7 -7
- package/dist/components/notes/Note.js.map +1 -1
- package/dist/components/notes/Notes.d.ts.map +1 -1
- package/dist/components/notes/Notes.js +4 -4
- package/dist/components/notes/Notes.js.map +1 -1
- package/dist/components/wrapper/AppList.d.ts.map +1 -1
- package/dist/components/wrapper/AppList.js.map +1 -1
- package/dist/components/wrapper/ChurchList.js +5 -5
- package/dist/components/wrapper/ChurchList.js.map +1 -1
- package/dist/components/wrapper/NavItem.js +1 -1
- package/dist/components/wrapper/NavItem.js.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.js +7 -6
- package/dist/components/wrapper/NewPrivateMessage.js.map +1 -1
- package/dist/components/wrapper/Notifications.d.ts.map +1 -1
- package/dist/components/wrapper/Notifications.js +12 -14
- package/dist/components/wrapper/Notifications.js.map +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.js +10 -10
- package/dist/components/wrapper/PrivateMessages.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessages.js +119 -123
- package/dist/components/wrapper/PrivateMessages.js.map +1 -1
- package/dist/components/wrapper/UserMenu.d.ts.map +1 -1
- package/dist/components/wrapper/UserMenu.js +15 -15
- package/dist/components/wrapper/UserMenu.js.map +1 -1
- package/dist/helpers/AnalyticsHelper.d.ts.map +1 -1
- package/dist/helpers/AnalyticsHelper.js +3 -3
- package/dist/helpers/AnalyticsHelper.js.map +1 -1
- package/dist/helpers/ArrayHelper.d.ts.map +1 -1
- package/dist/helpers/ArrayHelper.js.map +1 -1
- package/dist/helpers/CurrencyHelper.d.ts +4 -0
- package/dist/helpers/CurrencyHelper.d.ts.map +1 -1
- package/dist/helpers/CurrencyHelper.js +65 -0
- package/dist/helpers/CurrencyHelper.js.map +1 -1
- package/dist/helpers/ErrorHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.js.map +1 -1
- package/dist/helpers/EventHelper.d.ts.map +1 -1
- package/dist/helpers/EventHelper.js +1 -1
- package/dist/helpers/EventHelper.js.map +1 -1
- package/dist/helpers/FileHelper.d.ts.map +1 -1
- package/dist/helpers/FileHelper.js +3 -1
- package/dist/helpers/FileHelper.js.map +1 -1
- package/dist/helpers/Locale.d.ts.map +1 -1
- package/dist/helpers/Locale.js +10 -16
- package/dist/helpers/Locale.js.map +1 -1
- package/dist/helpers/NotificationService.js +4 -4
- package/dist/helpers/PersonHelper.d.ts.map +1 -1
- package/dist/helpers/PersonHelper.js +5 -4
- package/dist/helpers/PersonHelper.js.map +1 -1
- package/dist/helpers/SlugHelper.d.ts.map +1 -1
- package/dist/helpers/SlugHelper.js +5 -3
- package/dist/helpers/SlugHelper.js.map +1 -1
- package/dist/helpers/SocketHelper.d.ts.map +1 -1
- package/dist/helpers/SocketHelper.js +5 -10
- package/dist/helpers/SocketHelper.js.map +1 -1
- package/dist/helpers/UniqueIdHelper.d.ts.map +1 -1
- package/dist/helpers/UniqueIdHelper.js +132 -7
- package/dist/helpers/UniqueIdHelper.js.map +1 -1
- package/dist/helpers/UserHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.js +2 -2
- package/dist/helpers/UserHelper.js.map +1 -1
- package/dist/hooks/useMountedState.d.ts.map +1 -1
- package/dist/hooks/useMountedState.js +1 -1
- package/dist/hooks/useMountedState.js.map +1 -1
- package/dist/hooks/useNotifications.d.ts +2 -2
- package/dist/hooks/useNotifications.js +5 -5
- package/dist/public/locales/de.json +15 -7
- package/dist/public/locales/es.json +193 -190
- package/dist/public/locales/fr.json +15 -7
- package/dist/public/locales/hi.json +15 -7
- package/dist/public/locales/it.json +15 -7
- package/dist/public/locales/ko.json +15 -7
- package/dist/public/locales/no.json +15 -7
- package/dist/public/locales/pt.json +15 -7
- package/dist/public/locales/ru.json +15 -7
- package/dist/public/locales/tl.json +15 -7
- package/dist/public/locales/zh.json +15 -7
- package/package.json +106 -73
- package/dist/helpers/DateHelper.d.ts +0 -18
- package/dist/helpers/DateHelper.d.ts.map +0 -1
- package/dist/helpers/DateHelper.js +0 -102
- package/dist/helpers/DateHelper.js.map +0 -1
- package/public/css/cropper.css +0 -309
- package/public/css/styles.css +0 -112
- package/public/locales/de.json +0 -273
- package/public/locales/en.json +0 -281
- package/public/locales/es.json +0 -278
- package/public/locales/fr.json +0 -273
- package/public/locales/hi.json +0 -273
- package/public/locales/it.json +0 -273
- package/public/locales/ko.json +0 -273
- package/public/locales/no.json +0 -273
- package/public/locales/pt.json +0 -273
- package/public/locales/ru.json +0 -273
- package/public/locales/tl.json +0 -273
- package/public/locales/zh.json +0 -273
- package/src/components/DisplayBox.tsx +0 -83
- package/src/components/ErrorMessages.tsx +0 -28
- package/src/components/ExportLink.tsx +0 -81
- package/src/components/FloatingSupport.tsx +0 -18
- package/src/components/FormCardPayment.tsx +0 -184
- package/src/components/FormSubmissionEdit.tsx +0 -168
- package/src/components/HelpIcon.tsx +0 -12
- package/src/components/ImageEditor.tsx +0 -167
- package/src/components/InputBox.tsx +0 -96
- package/src/components/Loading.tsx +0 -31
- package/src/components/PageHeader.tsx +0 -111
- package/src/components/PersonAvatar.tsx +0 -78
- package/src/components/QuestionEdit.tsx +0 -99
- package/src/components/SmallButton.tsx +0 -42
- package/src/components/SupportModal.tsx +0 -32
- package/src/components/TabPanel.tsx +0 -28
- package/src/components/gallery/GalleryModal.tsx +0 -170
- package/src/components/gallery/StockPhotos.tsx +0 -96
- package/src/components/gallery/index.ts +0 -2
- package/src/components/header/Banner.tsx +0 -11
- package/src/components/header/PrimaryMenu.tsx +0 -101
- package/src/components/header/SecondaryMenu.tsx +0 -23
- package/src/components/header/SecondaryMenuAlt.tsx +0 -40
- package/src/components/header/SiteHeader.tsx +0 -205
- package/src/components/header/SupportDrawer.tsx +0 -112
- package/src/components/header/index.tsx +0 -2
- package/src/components/index.tsx +0 -20
- package/src/components/notes/AddNote.tsx +0 -185
- package/src/components/notes/Note.tsx +0 -84
- package/src/components/notes/Notes.tsx +0 -208
- package/src/components/notes/index.ts +0 -3
- package/src/components/wrapper/AppList.tsx +0 -18
- package/src/components/wrapper/ChurchList.tsx +0 -145
- package/src/components/wrapper/NavItem.tsx +0 -47
- package/src/components/wrapper/NewPrivateMessage.tsx +0 -249
- package/src/components/wrapper/Notifications.tsx +0 -220
- package/src/components/wrapper/PrivateMessageDetails.tsx +0 -106
- package/src/components/wrapper/PrivateMessages.tsx +0 -574
- package/src/components/wrapper/UserMenu.tsx +0 -384
- package/src/components/wrapper/index.tsx +0 -8
- package/src/helpers/AnalyticsHelper.ts +0 -44
- package/src/helpers/AppearanceHelper.ts +0 -73
- package/src/helpers/ArrayHelper.ts +0 -87
- package/src/helpers/CurrencyHelper.ts +0 -10
- package/src/helpers/DateHelper.ts +0 -104
- package/src/helpers/ErrorHelper.ts +0 -41
- package/src/helpers/EventHelper.ts +0 -49
- package/src/helpers/FileHelper.ts +0 -31
- package/src/helpers/Locale.ts +0 -457
- package/src/helpers/NotificationService.ts +0 -233
- package/src/helpers/PersonHelper.ts +0 -62
- package/src/helpers/SlugHelper.ts +0 -27
- package/src/helpers/SocketHelper.ts +0 -183
- package/src/helpers/UniqueIdHelper.ts +0 -36
- package/src/helpers/UserHelper.ts +0 -103
- package/src/helpers/createEmotionCache.ts +0 -17
- package/src/helpers/index.ts +0 -58
- package/src/hooks/index.ts +0 -3
- package/src/hooks/useMountedState.ts +0 -18
- package/src/hooks/useNotifications.ts +0 -95
- package/src/index.ts +0 -3
- package/src/types/interface-extensions.d.ts +0 -12
- package/tsconfig.json +0 -32
|
@@ -23,11 +23,136 @@ export class UniqueIdHelper {
|
|
|
23
23
|
return result;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
UniqueIdHelper.chars = [
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
26
|
+
UniqueIdHelper.chars = [
|
|
27
|
+
"A",
|
|
28
|
+
"B",
|
|
29
|
+
"C",
|
|
30
|
+
"D",
|
|
31
|
+
"E",
|
|
32
|
+
"F",
|
|
33
|
+
"G",
|
|
34
|
+
"H",
|
|
35
|
+
"I",
|
|
36
|
+
"J",
|
|
37
|
+
"K",
|
|
38
|
+
"L",
|
|
39
|
+
"M",
|
|
40
|
+
"N",
|
|
41
|
+
"O",
|
|
42
|
+
"P",
|
|
43
|
+
"Q",
|
|
44
|
+
"R",
|
|
45
|
+
"S",
|
|
46
|
+
"T",
|
|
47
|
+
"U",
|
|
48
|
+
"V",
|
|
49
|
+
"W",
|
|
50
|
+
"X",
|
|
51
|
+
"Y",
|
|
52
|
+
"Z",
|
|
53
|
+
"a",
|
|
54
|
+
"b",
|
|
55
|
+
"c",
|
|
56
|
+
"d",
|
|
57
|
+
"e",
|
|
58
|
+
"f",
|
|
59
|
+
"g",
|
|
60
|
+
"h",
|
|
61
|
+
"i",
|
|
62
|
+
"j",
|
|
63
|
+
"k",
|
|
64
|
+
"l",
|
|
65
|
+
"m",
|
|
66
|
+
"n",
|
|
67
|
+
"o",
|
|
68
|
+
"p",
|
|
69
|
+
"q",
|
|
70
|
+
"r",
|
|
71
|
+
"s",
|
|
72
|
+
"t",
|
|
73
|
+
"u",
|
|
74
|
+
"v",
|
|
75
|
+
"w",
|
|
76
|
+
"x",
|
|
77
|
+
"y",
|
|
78
|
+
"z",
|
|
79
|
+
"0",
|
|
80
|
+
"1",
|
|
81
|
+
"2",
|
|
82
|
+
"3",
|
|
83
|
+
"4",
|
|
84
|
+
"5",
|
|
85
|
+
"6",
|
|
86
|
+
"7",
|
|
87
|
+
"8",
|
|
88
|
+
"9",
|
|
89
|
+
"0",
|
|
90
|
+
"-",
|
|
91
|
+
"_"
|
|
92
|
+
];
|
|
93
|
+
UniqueIdHelper.alphanumericChars = [
|
|
94
|
+
"A",
|
|
95
|
+
"B",
|
|
96
|
+
"C",
|
|
97
|
+
"D",
|
|
98
|
+
"E",
|
|
99
|
+
"F",
|
|
100
|
+
"G",
|
|
101
|
+
"H",
|
|
102
|
+
"I",
|
|
103
|
+
"J",
|
|
104
|
+
"K",
|
|
105
|
+
"L",
|
|
106
|
+
"M",
|
|
107
|
+
"N",
|
|
108
|
+
"O",
|
|
109
|
+
"P",
|
|
110
|
+
"Q",
|
|
111
|
+
"R",
|
|
112
|
+
"S",
|
|
113
|
+
"T",
|
|
114
|
+
"U",
|
|
115
|
+
"V",
|
|
116
|
+
"W",
|
|
117
|
+
"X",
|
|
118
|
+
"Y",
|
|
119
|
+
"Z",
|
|
120
|
+
"a",
|
|
121
|
+
"b",
|
|
122
|
+
"c",
|
|
123
|
+
"d",
|
|
124
|
+
"e",
|
|
125
|
+
"f",
|
|
126
|
+
"g",
|
|
127
|
+
"h",
|
|
128
|
+
"i",
|
|
129
|
+
"j",
|
|
130
|
+
"k",
|
|
131
|
+
"l",
|
|
132
|
+
"m",
|
|
133
|
+
"n",
|
|
134
|
+
"o",
|
|
135
|
+
"p",
|
|
136
|
+
"q",
|
|
137
|
+
"r",
|
|
138
|
+
"s",
|
|
139
|
+
"t",
|
|
140
|
+
"u",
|
|
141
|
+
"v",
|
|
142
|
+
"w",
|
|
143
|
+
"x",
|
|
144
|
+
"y",
|
|
145
|
+
"z",
|
|
146
|
+
"0",
|
|
147
|
+
"1",
|
|
148
|
+
"2",
|
|
149
|
+
"3",
|
|
150
|
+
"4",
|
|
151
|
+
"5",
|
|
152
|
+
"6",
|
|
153
|
+
"7",
|
|
154
|
+
"8",
|
|
155
|
+
"9",
|
|
156
|
+
"0"
|
|
157
|
+
];
|
|
33
158
|
//# sourceMappingURL=UniqueIdHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UniqueIdHelper.js","sourceRoot":"","sources":["../../src/helpers/UniqueIdHelper.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAc;
|
|
1
|
+
{"version":3,"file":"UniqueIdHelper.js","sourceRoot":"","sources":["../../src/helpers/UniqueIdHelper.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAc;IAwIlB,MAAM,CAAC,SAAS,CAAC,GAAQ;QAC9B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI;YAAE,OAAO,IAAI,CAAC;aAC9C,IAAI,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE;YAAE,OAAO,IAAI,CAAC;;YACvC,OAAO,KAAK,CAAC;IACpB,CAAC;IAEM,MAAM,CAAC,OAAO;QACnB,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,MAAM,CAAC,oBAAoB;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,QAAkB,EAAE,MAAc;QACvD,IAAI,MAAM,GAAG,EAAE,CAAC;QAChB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE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H,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/UserHelper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAErI,qBAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"UserHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/UserHelper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAErI,qBAAa,UAAU;IACrB,MAAM,CAAC,iBAAiB,EAAE,wBAAwB,CAAC;IACnD,MAAM,CAAC,YAAY,EAAE,wBAAwB,EAAE,CAAC;IAChD,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC;IAC3B,MAAM,CAAC,aAAa,EAAE,OAAO,CAAS;IACtC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;IAE/B,MAAM,CAAC,YAAY,GAAU,UAAU,oBAAoB,EAAE,WAAW,MAAM,EAAE,UAAU,MAAM,mBAyC9F;IAEF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,wBAAwB;IAK1D,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,wBAAwB;IAI5D,MAAM,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,cAAc,GAAG,OAAO;IAezE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAUrD,MAAM,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI;CAclF"}
|
|
@@ -52,13 +52,13 @@ UserHelper.selectChurch = async (context, churchId, keyName) => {
|
|
|
52
52
|
let userChurch = null;
|
|
53
53
|
// Ensure userChurches is initialized
|
|
54
54
|
if (!_a.userChurches || !Array.isArray(_a.userChurches)) {
|
|
55
|
-
console.error(
|
|
55
|
+
console.error("UserHelper.userChurches is not initialized or not an array:", _a.userChurches);
|
|
56
56
|
// Try to get userChurches from context if available
|
|
57
57
|
if (context?.userChurches && Array.isArray(context.userChurches)) {
|
|
58
58
|
_a.userChurches = context.userChurches;
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
61
|
-
console.error(
|
|
61
|
+
console.error("Cannot select church: no valid userChurches available");
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserHelper.js","sourceRoot":"","sources":["../../src/helpers/UserHelper.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"UserHelper.js","sourceRoot":"","sources":["../../src/helpers/UserHelper.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,MAAM,OAAO,UAAU;IAkDrB,MAAM,CAAC,cAAc,CAAC,UAAoC;QACxD,SAAS,CA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ountedState.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,qBAa3B,
|
|
1
|
+
{"version":3,"file":"useMountedState.d.ts","sourceRoot":"","sources":["../../src/hooks/useMountedState.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,qBAa3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMountedState.js","sourceRoot":"","sources":["../../src/hooks/useMountedState.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"useMountedState.js","sourceRoot":"","sources":["../../src/hooks/useMountedState.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAE5D,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC;QAE1B,OAAO,GAAG,EAAE;YACV,UAAU,CAAC,OAAO,GAAG,KAAK,CAAC;QAC7B,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NotificationCounts } from
|
|
2
|
-
import { UserContextInterface } from
|
|
1
|
+
import { NotificationCounts } from "../helpers/NotificationService";
|
|
2
|
+
import { UserContextInterface } from "@churchapps/helpers";
|
|
3
3
|
export interface UseNotificationsResult {
|
|
4
4
|
counts: NotificationCounts;
|
|
5
5
|
isLoading: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import React, { useState, useEffect, useCallback } from
|
|
3
|
-
import { NotificationService } from
|
|
1
|
+
"use client";
|
|
2
|
+
import React, { useState, useEffect, useCallback } from "react";
|
|
3
|
+
import { NotificationService } from "../helpers/NotificationService";
|
|
4
4
|
/**
|
|
5
5
|
* Custom hook for managing real-time notifications
|
|
6
6
|
*
|
|
@@ -40,7 +40,7 @@ export function useNotifications(context) {
|
|
|
40
40
|
}
|
|
41
41
|
catch (err) {
|
|
42
42
|
console.error("❌ useNotifications: Failed to initialize:", err);
|
|
43
|
-
setError(err instanceof Error ? err.message :
|
|
43
|
+
setError(err instanceof Error ? err.message : "Failed to initialize notifications");
|
|
44
44
|
}
|
|
45
45
|
finally {
|
|
46
46
|
setIsLoading(false);
|
|
@@ -66,7 +66,7 @@ export function useNotifications(context) {
|
|
|
66
66
|
}
|
|
67
67
|
catch (err) {
|
|
68
68
|
console.error("❌ useNotifications: Refresh failed:", err);
|
|
69
|
-
setError(err instanceof Error ? err.message :
|
|
69
|
+
setError(err instanceof Error ? err.message : "Failed to refresh notifications");
|
|
70
70
|
}
|
|
71
71
|
}, []);
|
|
72
72
|
return {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"createPerson": {
|
|
30
30
|
"addNewPerson": "Fügen Sie eine neue Person hinzu",
|
|
31
31
|
"firstName": "Vorname",
|
|
32
|
-
"lastName": "Familienname, Nachname"
|
|
32
|
+
"lastName": "Familienname, Nachname",
|
|
33
|
+
"email": "E-Mail"
|
|
33
34
|
},
|
|
34
35
|
"donation": {
|
|
35
36
|
"bankForm": {
|
|
@@ -152,12 +153,15 @@
|
|
|
152
153
|
"login": {
|
|
153
154
|
"createAccount": "Ein Konto erstellen",
|
|
154
155
|
"email": "Email",
|
|
156
|
+
"expiredLink": "Der aktuelle Link ist abgelaufen.",
|
|
155
157
|
"forgot": "Passwort vergessen",
|
|
156
158
|
"goLogin": "Gehen Sie zu Anmelden",
|
|
157
159
|
"login": "Anmeldung",
|
|
160
|
+
"noAcc": "Sie haben noch kein Konto?",
|
|
158
161
|
"password": "Passwort",
|
|
159
162
|
"register": "Registrieren",
|
|
160
163
|
"registerThankYou": "Danke für die Registrierung! ",
|
|
164
|
+
"requestLink": "Neuen Zurücksetzungslink anfordern",
|
|
161
165
|
"reset": "Zurücksetzen",
|
|
162
166
|
"resetInstructions": "Geben Sie Ihre E-Mail-Adresse ein, um eine Passwortzurücksetzung anzufordern.",
|
|
163
167
|
"resetPassword": "Passwort zurücksetzen",
|
|
@@ -214,9 +218,13 @@
|
|
|
214
218
|
"lastName": "Familienname, Nachname",
|
|
215
219
|
"name": "Name",
|
|
216
220
|
"person": "Person",
|
|
217
|
-
"years": "Jahre"
|
|
221
|
+
"years": "Jahre",
|
|
222
|
+
"noRec": "Keinen Personendatensatz vorhanden?"
|
|
218
223
|
},
|
|
219
224
|
"reporting": {
|
|
225
|
+
"detailed": "Detaillierter Bericht",
|
|
226
|
+
"summary": "Zusammenfassung",
|
|
227
|
+
"sampleTemplate": "Beispiel-Word-Vorlage",
|
|
220
228
|
"downloadOptions": "Download-Optionen",
|
|
221
229
|
"noData": "Es sind keine Daten zum Anzeigen vorhanden.",
|
|
222
230
|
"runReport": "Bericht ausführen",
|
|
@@ -249,10 +257,8 @@
|
|
|
249
257
|
"providedBy": "Archivfotos bereitgestellt von"
|
|
250
258
|
},
|
|
251
259
|
"support": {
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"messenger": "Bote",
|
|
255
|
-
"phone": "Telefon"
|
|
260
|
+
"documentation": "Dokumentation",
|
|
261
|
+
"discussions": "Support-Forum"
|
|
256
262
|
},
|
|
257
263
|
"wrapper": {
|
|
258
264
|
"chatWith": "Plaudern mit",
|
|
@@ -261,7 +267,9 @@
|
|
|
261
267
|
"editChurchProfile": "Kirchenprofil bearbeiten",
|
|
262
268
|
"editProfile": "Profil bearbeiten",
|
|
263
269
|
"logout": "Ausloggen",
|
|
270
|
+
"messages": "Nachrichten",
|
|
264
271
|
"newPrivateMessage": "Neue private Nachricht",
|
|
272
|
+
"notifications": "Benachrichtigungen",
|
|
265
273
|
"privateMessage": "Private Nachricht",
|
|
266
274
|
"profile": "Profil",
|
|
267
275
|
"searchForPerson": "Suche nach einer Person",
|
|
@@ -270,4 +278,4 @@
|
|
|
270
278
|
"switchApp": "App wechseln",
|
|
271
279
|
"switchChurch": "Kirche wechseln"
|
|
272
280
|
}
|
|
273
|
-
}
|
|
281
|
+
}
|