@churchapps/apphelper 0.5.1 → 0.5.3

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 (100) hide show
  1. package/dist/components/Loading.d.ts +1 -0
  2. package/dist/components/Loading.d.ts.map +1 -1
  3. package/dist/components/Loading.js +1 -45
  4. package/dist/components/Loading.js.map +1 -1
  5. package/dist/components/notes/Notes.js +27 -27
  6. package/dist/helpers/AnalyticsHelper.d.ts.map +1 -1
  7. package/dist/helpers/AnalyticsHelper.js +21 -6
  8. package/dist/helpers/AnalyticsHelper.js.map +1 -1
  9. package/dist/public/css/cropper.css +309 -309
  10. package/dist/public/css/styles.css +111 -111
  11. package/dist/public/locales/de.json +270 -0
  12. package/dist/public/locales/en.json +277 -0
  13. package/dist/public/locales/es.json +272 -0
  14. package/dist/public/locales/fr.json +270 -0
  15. package/dist/public/locales/hi.json +270 -0
  16. package/dist/public/locales/it.json +270 -0
  17. package/dist/public/locales/ko.json +270 -0
  18. package/dist/public/locales/no.json +270 -0
  19. package/dist/public/locales/pt.json +270 -0
  20. package/dist/public/locales/ru.json +270 -0
  21. package/dist/public/locales/tl.json +270 -0
  22. package/dist/public/locales/zh.json +270 -0
  23. package/package.json +72 -72
  24. package/public/css/cropper.css +309 -309
  25. package/public/css/styles.css +111 -111
  26. package/public/locales/de.json +269 -269
  27. package/public/locales/en.json +276 -276
  28. package/public/locales/es.json +272 -272
  29. package/public/locales/fr.json +269 -269
  30. package/public/locales/hi.json +269 -269
  31. package/public/locales/it.json +269 -269
  32. package/public/locales/ko.json +269 -269
  33. package/public/locales/no.json +269 -269
  34. package/public/locales/pt.json +269 -269
  35. package/public/locales/ru.json +269 -269
  36. package/public/locales/tl.json +269 -269
  37. package/public/locales/zh.json +269 -269
  38. package/src/components/DisplayBox.tsx +83 -83
  39. package/src/components/ErrorMessages.tsx +28 -28
  40. package/src/components/ExportLink.tsx +81 -81
  41. package/src/components/FloatingSupport.tsx +18 -18
  42. package/src/components/FormCardPayment.tsx +184 -184
  43. package/src/components/FormSubmissionEdit.tsx +168 -168
  44. package/src/components/HelpIcon.tsx +12 -12
  45. package/src/components/ImageEditor.tsx +161 -161
  46. package/src/components/InputBox.tsx +96 -96
  47. package/src/components/Loading.tsx +31 -77
  48. package/src/components/PageHeader.tsx +110 -110
  49. package/src/components/PersonAvatar.tsx +77 -77
  50. package/src/components/QuestionEdit.tsx +99 -99
  51. package/src/components/SmallButton.tsx +42 -42
  52. package/src/components/SupportModal.tsx +32 -32
  53. package/src/components/TabPanel.tsx +28 -28
  54. package/src/components/gallery/GalleryModal.tsx +173 -173
  55. package/src/components/gallery/StockPhotos.tsx +95 -95
  56. package/src/components/gallery/index.ts +1 -1
  57. package/src/components/header/Banner.tsx +11 -11
  58. package/src/components/header/PrimaryMenu.tsx +100 -100
  59. package/src/components/header/SecondaryMenu.tsx +23 -23
  60. package/src/components/header/SecondaryMenuAlt.tsx +40 -40
  61. package/src/components/header/SiteHeader.tsx +207 -207
  62. package/src/components/header/SupportDrawer.tsx +111 -111
  63. package/src/components/header/index.tsx +2 -2
  64. package/src/components/index.tsx +20 -20
  65. package/src/components/notes/AddNote.tsx +180 -180
  66. package/src/components/notes/Note.tsx +68 -68
  67. package/src/components/notes/Notes.tsx +208 -208
  68. package/src/components/notes/index.ts +3 -3
  69. package/src/components/wrapper/AppList.tsx +19 -19
  70. package/src/components/wrapper/ChurchList.tsx +154 -154
  71. package/src/components/wrapper/NavItem.tsx +47 -47
  72. package/src/components/wrapper/NewPrivateMessage.tsx +253 -253
  73. package/src/components/wrapper/Notifications.tsx +223 -223
  74. package/src/components/wrapper/PrivateMessageDetails.tsx +112 -112
  75. package/src/components/wrapper/PrivateMessages.tsx +576 -576
  76. package/src/components/wrapper/UserMenu.tsx +383 -383
  77. package/src/components/wrapper/index.tsx +8 -8
  78. package/src/helpers/AnalyticsHelper.ts +44 -32
  79. package/src/helpers/AppearanceHelper.ts +73 -73
  80. package/src/helpers/ArrayHelper.ts +87 -87
  81. package/src/helpers/CurrencyHelper.ts +10 -10
  82. package/src/helpers/DateHelper.ts +104 -104
  83. package/src/helpers/ErrorHelper.ts +43 -43
  84. package/src/helpers/EventHelper.ts +49 -49
  85. package/src/helpers/FileHelper.ts +31 -31
  86. package/src/helpers/Locale.ts +457 -457
  87. package/src/helpers/NotificationService.ts +296 -296
  88. package/src/helpers/PersonHelper.ts +62 -62
  89. package/src/helpers/SlugHelper.ts +37 -37
  90. package/src/helpers/SocketHelper.ts +296 -296
  91. package/src/helpers/UniqueIdHelper.ts +36 -36
  92. package/src/helpers/UserHelper.ts +107 -107
  93. package/src/helpers/createEmotionCache.ts +17 -17
  94. package/src/helpers/index.ts +58 -58
  95. package/src/hooks/index.ts +3 -3
  96. package/src/hooks/useMountedState.ts +16 -16
  97. package/src/hooks/useNotifications.ts +93 -93
  98. package/src/index.ts +2 -2
  99. package/src/types/interface-extensions.d.ts +11 -11
  100. package/tsconfig.json +31 -31
@@ -1,309 +1,309 @@
1
- /*!
2
- * Cropper.js v1.6.2
3
- * https://fengyuanchen.github.io/cropperjs
4
- *
5
- * Copyright 2015-present Chen Fengyuan
6
- * Released under the MIT license
7
- *
8
- * Date: 2024-04-21T07:43:02.731Z
9
- */
10
-
11
- .cropper-container {
12
- direction: ltr;
13
- font-size: 0;
14
- line-height: 0;
15
- position: relative;
16
- -ms-touch-action: none;
17
- touch-action: none;
18
- -webkit-touch-callout: none;
19
- -webkit-user-select: none;
20
- -moz-user-select: none;
21
- -ms-user-select: none;
22
- user-select: none;
23
- }
24
-
25
- .cropper-container img {
26
- backface-visibility: hidden;
27
- display: block;
28
- height: 100%;
29
- image-orientation: 0deg;
30
- max-height: none !important;
31
- max-width: none !important;
32
- min-height: 0 !important;
33
- min-width: 0 !important;
34
- width: 100%;
35
- }
36
-
37
- .cropper-wrap-box,
38
- .cropper-canvas,
39
- .cropper-drag-box,
40
- .cropper-crop-box,
41
- .cropper-modal {
42
- bottom: 0;
43
- left: 0;
44
- position: absolute;
45
- right: 0;
46
- top: 0;
47
- }
48
-
49
- .cropper-wrap-box,
50
- .cropper-canvas {
51
- overflow: hidden;
52
- }
53
-
54
- .cropper-drag-box {
55
- background-color: #fff;
56
- opacity: 0;
57
- }
58
-
59
- .cropper-modal {
60
- background-color: #000;
61
- opacity: 0.5;
62
- }
63
-
64
- .cropper-view-box {
65
- display: block;
66
- height: 100%;
67
- outline: 1px solid #39f;
68
- outline-color: rgba(51, 153, 255, 0.75);
69
- overflow: hidden;
70
- width: 100%;
71
- }
72
-
73
- .cropper-dashed {
74
- border: 0 dashed #eee;
75
- display: block;
76
- opacity: 0.5;
77
- position: absolute;
78
- }
79
-
80
- .cropper-dashed.dashed-h {
81
- border-bottom-width: 1px;
82
- border-top-width: 1px;
83
- height: calc(100% / 3);
84
- left: 0;
85
- top: calc(100% / 3);
86
- width: 100%;
87
- }
88
-
89
- .cropper-dashed.dashed-v {
90
- border-left-width: 1px;
91
- border-right-width: 1px;
92
- height: 100%;
93
- left: calc(100% / 3);
94
- top: 0;
95
- width: calc(100% / 3);
96
- }
97
-
98
- .cropper-center {
99
- display: block;
100
- height: 0;
101
- left: 50%;
102
- opacity: 0.75;
103
- position: absolute;
104
- top: 50%;
105
- width: 0;
106
- }
107
-
108
- .cropper-center::before,
109
- .cropper-center::after {
110
- background-color: #eee;
111
- content: ' ';
112
- display: block;
113
- position: absolute;
114
- }
115
-
116
- .cropper-center::before {
117
- height: 1px;
118
- left: -3px;
119
- top: 0;
120
- width: 7px;
121
- }
122
-
123
- .cropper-center::after {
124
- height: 7px;
125
- left: 0;
126
- top: -3px;
127
- width: 1px;
128
- }
129
-
130
- .cropper-face,
131
- .cropper-line,
132
- .cropper-point {
133
- display: block;
134
- height: 100%;
135
- opacity: 0.1;
136
- position: absolute;
137
- width: 100%;
138
- }
139
-
140
- .cropper-face {
141
- background-color: #fff;
142
- left: 0;
143
- top: 0;
144
- }
145
-
146
- .cropper-line {
147
- background-color: #39f;
148
- }
149
-
150
- .cropper-line.line-e {
151
- cursor: ew-resize;
152
- right: -3px;
153
- top: 0;
154
- width: 5px;
155
- }
156
-
157
- .cropper-line.line-n {
158
- cursor: ns-resize;
159
- height: 5px;
160
- left: 0;
161
- top: -3px;
162
- }
163
-
164
- .cropper-line.line-w {
165
- cursor: ew-resize;
166
- left: -3px;
167
- top: 0;
168
- width: 5px;
169
- }
170
-
171
- .cropper-line.line-s {
172
- bottom: -3px;
173
- cursor: ns-resize;
174
- height: 5px;
175
- left: 0;
176
- }
177
-
178
- .cropper-point {
179
- background-color: #39f;
180
- height: 5px;
181
- opacity: 0.75;
182
- width: 5px;
183
- }
184
-
185
- .cropper-point.point-e {
186
- cursor: ew-resize;
187
- margin-top: -3px;
188
- right: -3px;
189
- top: 50%;
190
- }
191
-
192
- .cropper-point.point-n {
193
- cursor: ns-resize;
194
- left: 50%;
195
- margin-left: -3px;
196
- top: -3px;
197
- }
198
-
199
- .cropper-point.point-w {
200
- cursor: ew-resize;
201
- left: -3px;
202
- margin-top: -3px;
203
- top: 50%;
204
- }
205
-
206
- .cropper-point.point-s {
207
- bottom: -3px;
208
- cursor: s-resize;
209
- left: 50%;
210
- margin-left: -3px;
211
- }
212
-
213
- .cropper-point.point-ne {
214
- cursor: nesw-resize;
215
- right: -3px;
216
- top: -3px;
217
- }
218
-
219
- .cropper-point.point-nw {
220
- cursor: nwse-resize;
221
- left: -3px;
222
- top: -3px;
223
- }
224
-
225
- .cropper-point.point-sw {
226
- bottom: -3px;
227
- cursor: nesw-resize;
228
- left: -3px;
229
- }
230
-
231
- .cropper-point.point-se {
232
- bottom: -3px;
233
- cursor: nwse-resize;
234
- height: 20px;
235
- opacity: 1;
236
- right: -3px;
237
- width: 20px;
238
- }
239
-
240
- @media (min-width: 768px) {
241
-
242
- .cropper-point.point-se {
243
- height: 15px;
244
- width: 15px;
245
- }
246
- }
247
-
248
- @media (min-width: 992px) {
249
-
250
- .cropper-point.point-se {
251
- height: 10px;
252
- width: 10px;
253
- }
254
- }
255
-
256
- @media (min-width: 1200px) {
257
-
258
- .cropper-point.point-se {
259
- height: 5px;
260
- opacity: 0.75;
261
- width: 5px;
262
- }
263
- }
264
-
265
- .cropper-point.point-se::before {
266
- background-color: #39f;
267
- bottom: -50%;
268
- content: ' ';
269
- display: block;
270
- height: 200%;
271
- opacity: 0;
272
- position: absolute;
273
- right: -50%;
274
- width: 200%;
275
- }
276
-
277
- .cropper-invisible {
278
- opacity: 0;
279
- }
280
-
281
- .cropper-bg {
282
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
283
- }
284
-
285
- .cropper-hide {
286
- display: block;
287
- height: 0;
288
- position: absolute;
289
- width: 0;
290
- }
291
-
292
- .cropper-hidden {
293
- display: none !important;
294
- }
295
-
296
- .cropper-move {
297
- cursor: move;
298
- }
299
-
300
- .cropper-crop {
301
- cursor: crosshair;
302
- }
303
-
304
- .cropper-disabled .cropper-drag-box,
305
- .cropper-disabled .cropper-face,
306
- .cropper-disabled .cropper-line,
307
- .cropper-disabled .cropper-point {
308
- cursor: not-allowed;
309
- }
1
+ /*!
2
+ * Cropper.js v1.6.2
3
+ * https://fengyuanchen.github.io/cropperjs
4
+ *
5
+ * Copyright 2015-present Chen Fengyuan
6
+ * Released under the MIT license
7
+ *
8
+ * Date: 2024-04-21T07:43:02.731Z
9
+ */
10
+
11
+ .cropper-container {
12
+ direction: ltr;
13
+ font-size: 0;
14
+ line-height: 0;
15
+ position: relative;
16
+ -ms-touch-action: none;
17
+ touch-action: none;
18
+ -webkit-touch-callout: none;
19
+ -webkit-user-select: none;
20
+ -moz-user-select: none;
21
+ -ms-user-select: none;
22
+ user-select: none;
23
+ }
24
+
25
+ .cropper-container img {
26
+ backface-visibility: hidden;
27
+ display: block;
28
+ height: 100%;
29
+ image-orientation: 0deg;
30
+ max-height: none !important;
31
+ max-width: none !important;
32
+ min-height: 0 !important;
33
+ min-width: 0 !important;
34
+ width: 100%;
35
+ }
36
+
37
+ .cropper-wrap-box,
38
+ .cropper-canvas,
39
+ .cropper-drag-box,
40
+ .cropper-crop-box,
41
+ .cropper-modal {
42
+ bottom: 0;
43
+ left: 0;
44
+ position: absolute;
45
+ right: 0;
46
+ top: 0;
47
+ }
48
+
49
+ .cropper-wrap-box,
50
+ .cropper-canvas {
51
+ overflow: hidden;
52
+ }
53
+
54
+ .cropper-drag-box {
55
+ background-color: #fff;
56
+ opacity: 0;
57
+ }
58
+
59
+ .cropper-modal {
60
+ background-color: #000;
61
+ opacity: 0.5;
62
+ }
63
+
64
+ .cropper-view-box {
65
+ display: block;
66
+ height: 100%;
67
+ outline: 1px solid #39f;
68
+ outline-color: rgba(51, 153, 255, 0.75);
69
+ overflow: hidden;
70
+ width: 100%;
71
+ }
72
+
73
+ .cropper-dashed {
74
+ border: 0 dashed #eee;
75
+ display: block;
76
+ opacity: 0.5;
77
+ position: absolute;
78
+ }
79
+
80
+ .cropper-dashed.dashed-h {
81
+ border-bottom-width: 1px;
82
+ border-top-width: 1px;
83
+ height: calc(100% / 3);
84
+ left: 0;
85
+ top: calc(100% / 3);
86
+ width: 100%;
87
+ }
88
+
89
+ .cropper-dashed.dashed-v {
90
+ border-left-width: 1px;
91
+ border-right-width: 1px;
92
+ height: 100%;
93
+ left: calc(100% / 3);
94
+ top: 0;
95
+ width: calc(100% / 3);
96
+ }
97
+
98
+ .cropper-center {
99
+ display: block;
100
+ height: 0;
101
+ left: 50%;
102
+ opacity: 0.75;
103
+ position: absolute;
104
+ top: 50%;
105
+ width: 0;
106
+ }
107
+
108
+ .cropper-center::before,
109
+ .cropper-center::after {
110
+ background-color: #eee;
111
+ content: ' ';
112
+ display: block;
113
+ position: absolute;
114
+ }
115
+
116
+ .cropper-center::before {
117
+ height: 1px;
118
+ left: -3px;
119
+ top: 0;
120
+ width: 7px;
121
+ }
122
+
123
+ .cropper-center::after {
124
+ height: 7px;
125
+ left: 0;
126
+ top: -3px;
127
+ width: 1px;
128
+ }
129
+
130
+ .cropper-face,
131
+ .cropper-line,
132
+ .cropper-point {
133
+ display: block;
134
+ height: 100%;
135
+ opacity: 0.1;
136
+ position: absolute;
137
+ width: 100%;
138
+ }
139
+
140
+ .cropper-face {
141
+ background-color: #fff;
142
+ left: 0;
143
+ top: 0;
144
+ }
145
+
146
+ .cropper-line {
147
+ background-color: #39f;
148
+ }
149
+
150
+ .cropper-line.line-e {
151
+ cursor: ew-resize;
152
+ right: -3px;
153
+ top: 0;
154
+ width: 5px;
155
+ }
156
+
157
+ .cropper-line.line-n {
158
+ cursor: ns-resize;
159
+ height: 5px;
160
+ left: 0;
161
+ top: -3px;
162
+ }
163
+
164
+ .cropper-line.line-w {
165
+ cursor: ew-resize;
166
+ left: -3px;
167
+ top: 0;
168
+ width: 5px;
169
+ }
170
+
171
+ .cropper-line.line-s {
172
+ bottom: -3px;
173
+ cursor: ns-resize;
174
+ height: 5px;
175
+ left: 0;
176
+ }
177
+
178
+ .cropper-point {
179
+ background-color: #39f;
180
+ height: 5px;
181
+ opacity: 0.75;
182
+ width: 5px;
183
+ }
184
+
185
+ .cropper-point.point-e {
186
+ cursor: ew-resize;
187
+ margin-top: -3px;
188
+ right: -3px;
189
+ top: 50%;
190
+ }
191
+
192
+ .cropper-point.point-n {
193
+ cursor: ns-resize;
194
+ left: 50%;
195
+ margin-left: -3px;
196
+ top: -3px;
197
+ }
198
+
199
+ .cropper-point.point-w {
200
+ cursor: ew-resize;
201
+ left: -3px;
202
+ margin-top: -3px;
203
+ top: 50%;
204
+ }
205
+
206
+ .cropper-point.point-s {
207
+ bottom: -3px;
208
+ cursor: s-resize;
209
+ left: 50%;
210
+ margin-left: -3px;
211
+ }
212
+
213
+ .cropper-point.point-ne {
214
+ cursor: nesw-resize;
215
+ right: -3px;
216
+ top: -3px;
217
+ }
218
+
219
+ .cropper-point.point-nw {
220
+ cursor: nwse-resize;
221
+ left: -3px;
222
+ top: -3px;
223
+ }
224
+
225
+ .cropper-point.point-sw {
226
+ bottom: -3px;
227
+ cursor: nesw-resize;
228
+ left: -3px;
229
+ }
230
+
231
+ .cropper-point.point-se {
232
+ bottom: -3px;
233
+ cursor: nwse-resize;
234
+ height: 20px;
235
+ opacity: 1;
236
+ right: -3px;
237
+ width: 20px;
238
+ }
239
+
240
+ @media (min-width: 768px) {
241
+
242
+ .cropper-point.point-se {
243
+ height: 15px;
244
+ width: 15px;
245
+ }
246
+ }
247
+
248
+ @media (min-width: 992px) {
249
+
250
+ .cropper-point.point-se {
251
+ height: 10px;
252
+ width: 10px;
253
+ }
254
+ }
255
+
256
+ @media (min-width: 1200px) {
257
+
258
+ .cropper-point.point-se {
259
+ height: 5px;
260
+ opacity: 0.75;
261
+ width: 5px;
262
+ }
263
+ }
264
+
265
+ .cropper-point.point-se::before {
266
+ background-color: #39f;
267
+ bottom: -50%;
268
+ content: ' ';
269
+ display: block;
270
+ height: 200%;
271
+ opacity: 0;
272
+ position: absolute;
273
+ right: -50%;
274
+ width: 200%;
275
+ }
276
+
277
+ .cropper-invisible {
278
+ opacity: 0;
279
+ }
280
+
281
+ .cropper-bg {
282
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
283
+ }
284
+
285
+ .cropper-hide {
286
+ display: block;
287
+ height: 0;
288
+ position: absolute;
289
+ width: 0;
290
+ }
291
+
292
+ .cropper-hidden {
293
+ display: none !important;
294
+ }
295
+
296
+ .cropper-move {
297
+ cursor: move;
298
+ }
299
+
300
+ .cropper-crop {
301
+ cursor: crosshair;
302
+ }
303
+
304
+ .cropper-disabled .cropper-drag-box,
305
+ .cropper-disabled .cropper-face,
306
+ .cropper-disabled .cropper-line,
307
+ .cropper-disabled .cropper-point {
308
+ cursor: not-allowed;
309
+ }