@selfcommunity/react-ui 0.7.50-event.28 → 0.7.50-event.30

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 (50) hide show
  1. package/lib/cjs/components/Event/Event.d.ts +0 -6
  2. package/lib/cjs/components/Event/Event.js +4 -4
  3. package/lib/cjs/components/Event/Skeleton.d.ts +16 -2
  4. package/lib/cjs/components/Event/Skeleton.js +16 -8
  5. package/lib/cjs/components/Event/index.d.ts +2 -2
  6. package/lib/cjs/components/EventForm/EventForm.js +13 -13
  7. package/lib/cjs/components/EventInviteButton/EventInviteButton.d.ts +57 -0
  8. package/lib/cjs/components/EventInviteButton/EventInviteButton.js +284 -0
  9. package/lib/cjs/components/EventInviteButton/index.d.ts +3 -0
  10. package/lib/cjs/components/EventInviteButton/index.js +5 -0
  11. package/lib/cjs/components/Events/Events.d.ts +64 -0
  12. package/lib/cjs/components/Events/Events.js +230 -0
  13. package/lib/cjs/components/Events/Skeleton.d.ts +38 -0
  14. package/lib/cjs/components/Events/Skeleton.js +45 -0
  15. package/lib/cjs/components/Events/constants.d.ts +1 -0
  16. package/lib/cjs/components/Events/constants.js +4 -0
  17. package/lib/cjs/components/Events/index.d.ts +4 -0
  18. package/lib/cjs/components/Events/index.js +8 -0
  19. package/lib/cjs/components/Events/prefetchedEvents.d.ts +271 -0
  20. package/lib/cjs/components/Events/prefetchedEvents.js +275 -0
  21. package/lib/cjs/constants/PubSub.d.ts +4 -3
  22. package/lib/cjs/constants/PubSub.js +2 -1
  23. package/lib/cjs/index.d.ts +4 -2
  24. package/lib/cjs/index.js +7 -2
  25. package/lib/esm/components/Event/Event.d.ts +0 -6
  26. package/lib/esm/components/Event/Event.js +4 -4
  27. package/lib/esm/components/Event/Skeleton.d.ts +16 -2
  28. package/lib/esm/components/Event/Skeleton.js +17 -9
  29. package/lib/esm/components/Event/index.d.ts +2 -2
  30. package/lib/esm/components/EventForm/EventForm.js +13 -13
  31. package/lib/esm/components/EventInviteButton/EventInviteButton.d.ts +57 -0
  32. package/lib/esm/components/EventInviteButton/EventInviteButton.js +281 -0
  33. package/lib/esm/components/EventInviteButton/index.d.ts +3 -0
  34. package/lib/esm/components/EventInviteButton/index.js +2 -0
  35. package/lib/esm/components/Events/Events.d.ts +64 -0
  36. package/lib/esm/components/Events/Events.js +227 -0
  37. package/lib/esm/components/Events/Skeleton.d.ts +38 -0
  38. package/lib/esm/components/Events/Skeleton.js +42 -0
  39. package/lib/esm/components/Events/constants.d.ts +1 -0
  40. package/lib/esm/components/Events/constants.js +1 -0
  41. package/lib/esm/components/Events/index.d.ts +4 -0
  42. package/lib/esm/components/Events/index.js +4 -0
  43. package/lib/esm/components/Events/prefetchedEvents.d.ts +271 -0
  44. package/lib/esm/components/Events/prefetchedEvents.js +275 -0
  45. package/lib/esm/constants/PubSub.d.ts +4 -3
  46. package/lib/esm/constants/PubSub.js +2 -1
  47. package/lib/esm/index.d.ts +4 -2
  48. package/lib/esm/index.js +3 -1
  49. package/lib/umd/react-ui.js +1 -1
  50. package/package.json +6 -6
@@ -0,0 +1,42 @@
1
+ import { __rest } from "tslib";
2
+ import React from 'react';
3
+ import { styled } from '@mui/material/styles';
4
+ import { PREFIX } from './constants';
5
+ import { Box, Grid } from '@mui/material';
6
+ import classNames from 'classnames';
7
+ import { EventSkeleton } from '../Event';
8
+ const classes = {
9
+ root: `${PREFIX}-skeleton-root`,
10
+ events: `${PREFIX}-events`
11
+ };
12
+ const Root = styled(Box, {
13
+ name: PREFIX,
14
+ slot: 'SkeletonRoot'
15
+ })(() => ({}));
16
+ /**
17
+ * > API documentation for the Community-JS Groups Skeleton component. Learn about the available props and the CSS API.
18
+
19
+ #### Import
20
+
21
+ ```jsx
22
+ import {EventsSkeleton} from '@selfcommunity/react-ui';
23
+ ```
24
+
25
+ #### Component Name
26
+
27
+ The name `SCEvents-skeleton-root` can be used when providing style overrides in the theme.
28
+
29
+ #### CSS
30
+
31
+ |Rule Name|Global class|Description|
32
+ |---|---|---|
33
+ |root|.SCEvents-skeleton-root|Styles applied to the root element.|
34
+ |events|.SCEvents-skeleton-events|Styles applied to the group elements.|
35
+ *
36
+ */
37
+ export default function EventsSkeleton(inProps) {
38
+ const { className, EventSkeletonProps = {}, eventsNumber = 8 } = inProps, rest = __rest(inProps, ["className", "EventSkeletonProps", "eventsNumber"]);
39
+ return (React.createElement(Root, Object.assign({ className: classNames(classes.root, className) }, rest),
40
+ React.createElement(Grid, { container: true, spacing: { xs: 3 }, className: classes.events }, [...Array(eventsNumber)].map((event, index) => (React.createElement(Grid, { item: true, xs: 12, sm: 8, md: 6, key: index },
41
+ React.createElement(EventSkeleton, Object.assign({}, EventSkeletonProps))))))));
42
+ }
@@ -0,0 +1 @@
1
+ export declare const PREFIX = "SCEvents";
@@ -0,0 +1 @@
1
+ export const PREFIX = 'SCEvents';
@@ -0,0 +1,4 @@
1
+ import Events, { EventsProps } from './Events';
2
+ import EventsSkeleton, { EventsSkeletonProps } from './Skeleton';
3
+ export default Events;
4
+ export { EventsProps, EventsSkeleton, EventsSkeletonProps };
@@ -0,0 +1,4 @@
1
+ import Events from './Events';
2
+ import EventsSkeleton from './Skeleton';
3
+ export default Events;
4
+ export { EventsSkeleton };
@@ -0,0 +1,271 @@
1
+ declare const prefetchedEvents: ({
2
+ id: number;
3
+ name: string;
4
+ description: string;
5
+ slug: string;
6
+ color: string;
7
+ privacy: string;
8
+ visible: boolean;
9
+ active: boolean;
10
+ show_on_feed: boolean;
11
+ subscription_status: any;
12
+ image_bigger: string;
13
+ image_big: string;
14
+ image_medium: string;
15
+ image_small: string;
16
+ subscribers_counter: number;
17
+ goings_counter: number;
18
+ start_date: string;
19
+ end_date: string;
20
+ recurring: string;
21
+ location: string;
22
+ geolocation: any;
23
+ geolocation_lat: any;
24
+ geolocation_lng: any;
25
+ link: string;
26
+ created_at: string;
27
+ created_by: {
28
+ id: number;
29
+ username: string;
30
+ real_name: string;
31
+ avatar: string;
32
+ ext_id: any;
33
+ deleted: boolean;
34
+ followings_counter: number;
35
+ followers_counter: number;
36
+ posts_counter: number;
37
+ discussions_counter: number;
38
+ polls_counter: number;
39
+ categories_counter: number;
40
+ date_joined: string;
41
+ bio: string;
42
+ location: string;
43
+ location_lat_lng: any;
44
+ position_lat_lng: any;
45
+ date_of_birth: any;
46
+ description: string;
47
+ gender: string;
48
+ website: string;
49
+ cover: any;
50
+ tags: any[];
51
+ reputation: number;
52
+ language: string;
53
+ community_badge: boolean;
54
+ reg_approved: boolean;
55
+ job: string;
56
+ store: string;
57
+ brand: string;
58
+ };
59
+ managed_by: {
60
+ id: number;
61
+ username: string;
62
+ real_name: string;
63
+ avatar: string;
64
+ ext_id: any;
65
+ deleted: boolean;
66
+ followings_counter: number;
67
+ followers_counter: number;
68
+ posts_counter: number;
69
+ discussions_counter: number;
70
+ polls_counter: number;
71
+ categories_counter: number;
72
+ date_joined: string;
73
+ bio: string;
74
+ location: string;
75
+ location_lat_lng: any;
76
+ position_lat_lng: any;
77
+ date_of_birth: any;
78
+ description: string;
79
+ gender: string;
80
+ website: string;
81
+ cover: any;
82
+ tags: any[];
83
+ reputation: number;
84
+ language: string;
85
+ community_badge: boolean;
86
+ reg_approved: boolean;
87
+ job: string;
88
+ store: string;
89
+ brand: string;
90
+ };
91
+ } | {
92
+ id: number;
93
+ name: string;
94
+ description: string;
95
+ slug: string;
96
+ color: string;
97
+ privacy: string;
98
+ visible: boolean;
99
+ active: boolean;
100
+ show_on_feed: boolean;
101
+ subscription_status: any;
102
+ image_bigger: string;
103
+ image_big: string;
104
+ image_medium: string;
105
+ image_small: string;
106
+ subscribers_counter: number;
107
+ goings_counter: number;
108
+ start_date: string;
109
+ end_date: any;
110
+ recurring: string;
111
+ location: string;
112
+ geolocation: string;
113
+ geolocation_lat: number;
114
+ geolocation_lng: number;
115
+ link: any;
116
+ created_at: string;
117
+ created_by: {
118
+ id: number;
119
+ username: string;
120
+ real_name: string;
121
+ avatar: string;
122
+ ext_id: any;
123
+ deleted: boolean;
124
+ followings_counter: number;
125
+ followers_counter: number;
126
+ posts_counter: number;
127
+ discussions_counter: number;
128
+ polls_counter: number;
129
+ categories_counter: number;
130
+ date_joined: string;
131
+ bio: string;
132
+ location: string;
133
+ location_lat_lng: any;
134
+ position_lat_lng: any;
135
+ date_of_birth: any;
136
+ description: string;
137
+ gender: string;
138
+ website: string;
139
+ cover: any;
140
+ tags: any[];
141
+ reputation: number;
142
+ language: string;
143
+ community_badge: boolean;
144
+ reg_approved: boolean;
145
+ job: string;
146
+ store: string;
147
+ brand: string;
148
+ };
149
+ managed_by: {
150
+ id: number;
151
+ username: string;
152
+ real_name: string;
153
+ avatar: string;
154
+ ext_id: any;
155
+ deleted: boolean;
156
+ followings_counter: number;
157
+ followers_counter: number;
158
+ posts_counter: number;
159
+ discussions_counter: number;
160
+ polls_counter: number;
161
+ categories_counter: number;
162
+ date_joined: string;
163
+ bio: string;
164
+ location: string;
165
+ location_lat_lng: any;
166
+ position_lat_lng: any;
167
+ date_of_birth: any;
168
+ description: string;
169
+ gender: string;
170
+ website: string;
171
+ cover: any;
172
+ tags: any[];
173
+ reputation: number;
174
+ language: string;
175
+ community_badge: boolean;
176
+ reg_approved: boolean;
177
+ job: string;
178
+ store: string;
179
+ brand: string;
180
+ };
181
+ } | {
182
+ id: number;
183
+ name: string;
184
+ description: string;
185
+ slug: string;
186
+ color: string;
187
+ privacy: string;
188
+ visible: boolean;
189
+ active: boolean;
190
+ show_on_feed: boolean;
191
+ subscription_status: string;
192
+ image_bigger: string;
193
+ image_big: string;
194
+ image_medium: string;
195
+ image_small: string;
196
+ subscribers_counter: number;
197
+ goings_counter: number;
198
+ start_date: string;
199
+ end_date: any;
200
+ recurring: string;
201
+ location: string;
202
+ geolocation: string;
203
+ geolocation_lat: number;
204
+ geolocation_lng: number;
205
+ link: any;
206
+ created_at: string;
207
+ created_by: {
208
+ id: number;
209
+ username: string;
210
+ real_name: string;
211
+ avatar: string;
212
+ ext_id: any;
213
+ deleted: boolean;
214
+ followings_counter: number;
215
+ followers_counter: number;
216
+ posts_counter: number;
217
+ discussions_counter: number;
218
+ polls_counter: number;
219
+ categories_counter: number;
220
+ date_joined: string;
221
+ bio: string;
222
+ location: string;
223
+ location_lat_lng: any;
224
+ position_lat_lng: any;
225
+ date_of_birth: any;
226
+ description: string;
227
+ gender: string;
228
+ website: string;
229
+ cover: any;
230
+ tags: any[];
231
+ reputation: number;
232
+ language: string;
233
+ community_badge: boolean;
234
+ reg_approved: boolean;
235
+ job: any;
236
+ store: string;
237
+ brand: any;
238
+ };
239
+ managed_by: {
240
+ id: number;
241
+ username: string;
242
+ real_name: string;
243
+ avatar: string;
244
+ ext_id: any;
245
+ deleted: boolean;
246
+ followings_counter: number;
247
+ followers_counter: number;
248
+ posts_counter: number;
249
+ discussions_counter: number;
250
+ polls_counter: number;
251
+ categories_counter: number;
252
+ date_joined: string;
253
+ bio: string;
254
+ location: string;
255
+ location_lat_lng: any;
256
+ position_lat_lng: any;
257
+ date_of_birth: any;
258
+ description: string;
259
+ gender: string;
260
+ website: string;
261
+ cover: any;
262
+ tags: any[];
263
+ reputation: number;
264
+ language: string;
265
+ community_badge: boolean;
266
+ reg_approved: boolean;
267
+ job: any;
268
+ store: string;
269
+ brand: any;
270
+ };
271
+ })[];
@@ -0,0 +1,275 @@
1
+ const prefetchedEvents = [
2
+ {
3
+ id: 105,
4
+ name: 'Evento di prova',
5
+ description: 'Questo è un evento di prova',
6
+ slug: 'evento-di-prova',
7
+ color: '#DBDBDB',
8
+ privacy: 'public',
9
+ visible: true,
10
+ active: true,
11
+ show_on_feed: false,
12
+ subscription_status: null,
13
+ image_bigger: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/bigger/evento-di-prova_6850.jpg',
14
+ image_big: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/big/evento-di-prova_0152.jpg',
15
+ image_medium: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/medium/evento-di-prova_3635.jpg',
16
+ image_small: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/small/evento-di-prova_6424.jpg',
17
+ subscribers_counter: 1,
18
+ goings_counter: 0,
19
+ start_date: '2024-08-13T16:00:00+02:00',
20
+ end_date: '2024-08-13T17:00:00+02:00',
21
+ recurring: 'never',
22
+ location: 'virtual',
23
+ geolocation: null,
24
+ geolocation_lat: null,
25
+ geolocation_lng: null,
26
+ link: 'https://www.youtube.com/?app=desktop&hl=it',
27
+ created_at: '2024-08-08T10:26:36.309587+02:00',
28
+ created_by: {
29
+ id: 1,
30
+ username: 'admin',
31
+ real_name: '',
32
+ avatar: 'https://internal.stage.quentrix.com/wioggmfc/avatar/admin',
33
+ ext_id: null,
34
+ deleted: false,
35
+ followings_counter: 1,
36
+ followers_counter: 1,
37
+ posts_counter: 4,
38
+ discussions_counter: 0,
39
+ polls_counter: 0,
40
+ categories_counter: 6,
41
+ date_joined: '2024-04-10T13:23:59.754335+02:00',
42
+ bio: '',
43
+ location: '',
44
+ location_lat_lng: null,
45
+ position_lat_lng: null,
46
+ date_of_birth: null,
47
+ description: '',
48
+ gender: 'Unspecified',
49
+ website: '',
50
+ cover: null,
51
+ tags: [],
52
+ reputation: 75,
53
+ language: 'it',
54
+ community_badge: false,
55
+ reg_approved: true,
56
+ job: 'Commessa Adv',
57
+ store: 'Erbusco',
58
+ brand: 'Sede'
59
+ },
60
+ managed_by: {
61
+ id: 1,
62
+ username: 'admin',
63
+ real_name: '',
64
+ avatar: 'https://internal.stage.quentrix.com/wioggmfc/avatar/admin',
65
+ ext_id: null,
66
+ deleted: false,
67
+ followings_counter: 1,
68
+ followers_counter: 1,
69
+ posts_counter: 4,
70
+ discussions_counter: 0,
71
+ polls_counter: 0,
72
+ categories_counter: 6,
73
+ date_joined: '2024-04-10T13:23:59.754335+02:00',
74
+ bio: '',
75
+ location: '',
76
+ location_lat_lng: null,
77
+ position_lat_lng: null,
78
+ date_of_birth: null,
79
+ description: '',
80
+ gender: 'Unspecified',
81
+ website: '',
82
+ cover: null,
83
+ tags: [],
84
+ reputation: 75,
85
+ language: 'it',
86
+ community_badge: false,
87
+ reg_approved: true,
88
+ job: 'Commessa Adv',
89
+ store: 'Erbusco',
90
+ brand: 'Sede'
91
+ }
92
+ },
93
+ {
94
+ id: 107,
95
+ name: 'Evento di persona',
96
+ description: 'Questo è un evento di persona',
97
+ slug: 'evento-di-persona',
98
+ color: '#DBDBDB',
99
+ privacy: 'public',
100
+ visible: true,
101
+ active: true,
102
+ show_on_feed: false,
103
+ subscription_status: null,
104
+ image_bigger: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/bigger/evento-di-persona_1481.jpg',
105
+ image_big: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/big/evento-di-persona_6521.jpg',
106
+ image_medium: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/medium/evento-di-persona_4765.jpg',
107
+ image_small: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/small/evento-di-persona_4536.jpg',
108
+ subscribers_counter: 1,
109
+ goings_counter: 0,
110
+ start_date: '2024-08-09T17:00:00+02:00',
111
+ end_date: null,
112
+ recurring: 'never',
113
+ location: 'in person',
114
+ geolocation: 'P.za del Duomo, 20122 Milano MI, Italia',
115
+ geolocation_lat: 45.4640976,
116
+ geolocation_lng: 9.1919265,
117
+ link: null,
118
+ created_at: '2024-08-08T10:51:50.692540+02:00',
119
+ created_by: {
120
+ id: 1,
121
+ username: 'admin',
122
+ real_name: '',
123
+ avatar: 'https://internal.stage.quentrix.com/wioggmfc/avatar/admin',
124
+ ext_id: null,
125
+ deleted: false,
126
+ followings_counter: 1,
127
+ followers_counter: 1,
128
+ posts_counter: 4,
129
+ discussions_counter: 0,
130
+ polls_counter: 0,
131
+ categories_counter: 6,
132
+ date_joined: '2024-04-10T13:23:59.754335+02:00',
133
+ bio: '',
134
+ location: '',
135
+ location_lat_lng: null,
136
+ position_lat_lng: null,
137
+ date_of_birth: null,
138
+ description: '',
139
+ gender: 'Unspecified',
140
+ website: '',
141
+ cover: null,
142
+ tags: [],
143
+ reputation: 75,
144
+ language: 'it',
145
+ community_badge: false,
146
+ reg_approved: true,
147
+ job: 'Commessa Adv',
148
+ store: 'Erbusco',
149
+ brand: 'Sede'
150
+ },
151
+ managed_by: {
152
+ id: 1,
153
+ username: 'admin',
154
+ real_name: '',
155
+ avatar: 'https://internal.stage.quentrix.com/wioggmfc/avatar/admin',
156
+ ext_id: null,
157
+ deleted: false,
158
+ followings_counter: 1,
159
+ followers_counter: 1,
160
+ posts_counter: 4,
161
+ discussions_counter: 0,
162
+ polls_counter: 0,
163
+ categories_counter: 6,
164
+ date_joined: '2024-04-10T13:23:59.754335+02:00',
165
+ bio: '',
166
+ location: '',
167
+ location_lat_lng: null,
168
+ position_lat_lng: null,
169
+ date_of_birth: null,
170
+ description: '',
171
+ gender: 'Unspecified',
172
+ website: '',
173
+ cover: null,
174
+ tags: [],
175
+ reputation: 75,
176
+ language: 'it',
177
+ community_badge: false,
178
+ reg_approved: true,
179
+ job: 'Commessa Adv',
180
+ store: 'Erbusco',
181
+ brand: 'Sede'
182
+ }
183
+ },
184
+ {
185
+ id: 111,
186
+ name: 'Tour Cagliari',
187
+ description: '',
188
+ slug: 'tour-cagliari',
189
+ color: '#DBDBDB',
190
+ privacy: 'public',
191
+ visible: true,
192
+ active: true,
193
+ show_on_feed: true,
194
+ subscription_status: 'subscribed',
195
+ image_bigger: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/bigger/tour-cagliari_4613.jpg',
196
+ image_big: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/big/tour-cagliari_5634.jpg',
197
+ image_medium: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/medium/tour-cagliari_6311.jpg',
198
+ image_small: 'https://static.stage.quentrix.com/wioggmfc/upfiles/events/small/tour-cagliari_3043.jpg',
199
+ subscribers_counter: 1,
200
+ goings_counter: 0,
201
+ start_date: '2024-08-11T09:15:00+02:00',
202
+ end_date: null,
203
+ recurring: 'never',
204
+ location: 'in person',
205
+ geolocation: 'Piazza Costituzione, Cagliari CA, Italy',
206
+ geolocation_lat: 39.2153291,
207
+ geolocation_lng: 9.1171268,
208
+ link: null,
209
+ created_at: '2024-08-08T11:33:33.586626+02:00',
210
+ created_by: {
211
+ id: 642,
212
+ username: 'simonester',
213
+ real_name: '',
214
+ avatar: 'https://static.stage.quentrix.com/wioggmfc/upfiles/avatars/642/resized/209/209/56ca76ca6a31a337972026011f597cec.png',
215
+ ext_id: null,
216
+ deleted: false,
217
+ followings_counter: 0,
218
+ followers_counter: 0,
219
+ posts_counter: 14,
220
+ discussions_counter: 1,
221
+ polls_counter: 0,
222
+ categories_counter: 6,
223
+ date_joined: '2024-07-08T10:59:03.296820+02:00',
224
+ bio: '',
225
+ location: '',
226
+ location_lat_lng: null,
227
+ position_lat_lng: null,
228
+ date_of_birth: null,
229
+ description: '',
230
+ gender: 'Unspecified',
231
+ website: '',
232
+ cover: null,
233
+ tags: [],
234
+ reputation: 52,
235
+ language: 'it',
236
+ community_badge: false,
237
+ reg_approved: true,
238
+ job: null,
239
+ store: 'Cagliari',
240
+ brand: null
241
+ },
242
+ managed_by: {
243
+ id: 642,
244
+ username: 'simonester',
245
+ real_name: '',
246
+ avatar: 'https://static.stage.quentrix.com/wioggmfc/upfiles/avatars/642/resized/209/209/56ca76ca6a31a337972026011f597cec.png',
247
+ ext_id: null,
248
+ deleted: false,
249
+ followings_counter: 0,
250
+ followers_counter: 0,
251
+ posts_counter: 14,
252
+ discussions_counter: 1,
253
+ polls_counter: 0,
254
+ categories_counter: 6,
255
+ date_joined: '2024-07-08T10:59:03.296820+02:00',
256
+ bio: '',
257
+ location: '',
258
+ location_lat_lng: null,
259
+ position_lat_lng: null,
260
+ date_of_birth: null,
261
+ description: '',
262
+ gender: 'Unspecified',
263
+ website: '',
264
+ cover: null,
265
+ tags: [],
266
+ reputation: 52,
267
+ language: 'it',
268
+ community_badge: false,
269
+ reg_approved: true,
270
+ job: null,
271
+ store: 'Cagliari',
272
+ brand: null
273
+ }
274
+ }
275
+ ];
@@ -3,10 +3,11 @@ import { SCUserType, SCGroupType } from '@selfcommunity/types';
3
3
  * Define topics for pubsub
4
4
  */
5
5
  export declare enum SCTopicType {
6
- GROUP = "group"
6
+ GROUP = "group",
7
+ EVENT = "event"
7
8
  }
8
9
  /**
9
- * Event types
10
+ * Group/Event event types
10
11
  */
11
12
  export declare enum SCGroupEventType {
12
13
  CREATE = "create",
@@ -17,7 +18,7 @@ export declare enum SCGroupEventType {
17
18
  REMOVE_MEMBER = "members.remove_member"
18
19
  }
19
20
  /**
20
- * Event structure
21
+ * Group event structure
21
22
  */
22
23
  export interface SCGroupChangeEventType {
23
24
  group: SCGroupType;
@@ -4,9 +4,10 @@
4
4
  export var SCTopicType;
5
5
  (function (SCTopicType) {
6
6
  SCTopicType["GROUP"] = "group";
7
+ SCTopicType["EVENT"] = "event";
7
8
  })(SCTopicType || (SCTopicType = {}));
8
9
  /**
9
- * Event types
10
+ * Group/Event event types
10
11
  */
11
12
  export var SCGroupEventType;
12
13
  (function (SCGroupEventType) {
@@ -126,7 +126,9 @@ import DefaultDrawerContent, { DefaultDrawerContentProps } from './components/Na
126
126
  import DefaultHeaderContent, { DefaultHeaderContentProps } from './components/NavigationMenuIconButton/DefaultHeaderContent';
127
127
  import CreateEventButton, { CreateEventButtonProps } from './components/CreateEventButton';
128
128
  import EventLocationWidget, { EventLocationWidgetProps, EventLocationWidgetSkeleton } from './components/EventLocationWidget';
129
- import Event, { EventProps, EventSkeleton } from './components/Event';
129
+ import Event, { EventProps, EventSkeleton, EventSkeletonProps } from './components/Event';
130
+ import Events, { EventsProps, EventsSkeleton, EventsSkeletonProps } from './components/Events';
131
+ import EventInviteButton, { EventInviteButtonProps } from './components/EventInviteButton';
130
132
  /**
131
133
  * Constants
132
134
  */
@@ -155,4 +157,4 @@ import LogoSelfCommunity from './assets/logo';
155
157
  /**
156
158
  * List all exports
157
159
  */
158
- export { AccountDataPortability, AccountDataPortabilityProps, AccountDataPortabilityButton, AccountDataPortabilityButtonProps, AccountDelete, AccountDeleteProps, AccountDeleteButton, AccountDeleteButtonProps, AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, AccountChangeMailValidation, AccountChangeMailValidationProps, NavigationSettingsIconButton, NavigationSettingsIconButtonProps, NavigationSettingsItem, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarProps, NavigationToolbarSkeleton, NavigationMenuIconButton, NavigationMenuContent, NavigationMenuHeader, NavigationMenuIconButtonProps, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, Category, CategoryProps, CategorySkeleton, CategoryAutocomplete, CategoryAutocompleteProps, CategoryFollowersButton, CategoryFollowersButtonProps, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, Categories, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, UserFollowedCategoriesWidget, UserFollowedCategoriesWidgetProps, UserFollowedCategoriesWidgetSkeleton, CategoriesPopularWidget, CategoriesPopularWidgetSkeleton, CategoriesSuggestionWidget, CategoriesSuggestionWidgetProps, CategoriesSuggestionWidgetSkeleton, ChangeCover, ChangePicture, ChangePictureProps, ChangeCoverProps, Composer, ComposerProps, ComposerIconButton, ComposerIconButtonProps, Editor, EditorProps, EditorSkeleton, FriendshipUserButton, FriendshipButtonProps, Feed, FeedRef, FeedProps, FeedSidebarProps, FeedSkeleton, CategoryFollowButton, CategoryFollowButtonProps, FollowUserButton, FollowUserButtonProps, ConnectionUserButton, FeedObject, FeedObjectProps, FeedObjectSkeleton, FeedObjectMediaPreview, FeedObjectMediaPreviewProps, FeedUpdatesWidget, FeedUpdatesWidgetProps, FeedUpdatesWidgetSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectProps, CommentObjectProps, CommentsObjectSkeleton, CommentObjectSkeleton, CommentObjectReply, CommentObjectReplyProps, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, ReplyComment, InlineComposerWidget, InlineComposerWidgetProps, InlineComposerWidgetSkeleton, Notification, NotificationProps, NotificationSkeleton, UserSuggestionWidget, UserSuggestionWidgetProps, UserSuggestionWidgetSkeleton, PlatformWidget, PlatformWidgetProps, PlatformWidgetSkeleton, LocationAutocomplete, LocationAutocompleteProps, LoyaltyProgramWidget, LoyaltyProgramWidgetProps, LoyaltyProgramWidgetSkeleton, CategoryTrendingFeedWidget, CategoryTrendingFeedWidgetProps, CategoryTrendingFeedWidgetSkeleton, CategoryTrendingUsersWidget, CategoryTrendingUsersWidgetProps, CategoryTrendingPeopleWidgetSkeleton, RelatedFeedObjectsWidget, RelatedFeedObjectWidgetProps, RelatedFeedObjectsWidgetSkeleton, UserActionIconButton, UserActionIconButtonProps, UserCounters, UserCountersProps, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserInfoDialog, UserInfoDialogProps, UserInfo, UserInfoProps, UserInfoSkeleton, UserProfileBlocked, UserProfileBlockedProps, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditProps, UserProfileEditSkeleton, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UserFollowedUsersWidget, UserFollowedUsersWidgetProps, UserFollowedUsersWidgetSkeleton, UserFollowersWidget, UserFollowersWidgetProps, UserFollowersWidgetSkeleton, UserConnectionsWidget, UserConnectionsWidgetProps, UserConnectionsWidgetSkeleton, UserConnectionsRequestsWidget, UserConnectionsRequestsWidgetProps, UserConnectionsRequestsWidgetSkeleton, UserConnectionsRequestsSentWidget, UserConnectionsRequestsSentWidgetProps, UserConnectionsRequestsSentWidgetSkeleton, UserSocialAssociation, UserSocialAssociationProps, SCUserSocialAssociations, VirtualScrollerItemProps, PlatformWidgetActionType, CustomAdv, CustomAdvProps, CustomAdvSkeleton, User, UserProps, UserSkeleton, PrivateMessageThread, PrivateMessageThreadProps, PrivateMessageThreadSkeleton, PrivateMessageThreadItem, PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton, PrivateMessageSnippetItem, PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton, PrivateMessageEditor, PrivateMessageEditorProps, PrivateMessageEditorSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton, PrivateMessageComponent, PrivateMessageComponentProps, PrivateMessageComponentSkeleton, PrivateMessageSettingsIconButton, PrivateMessageSettingsIconButtonProps, ToastNotifications, ToastNotificationsProps, ToastNotificationsSkeleton, SnippetNotifications, SnippetNotificationsProps, SnippetNotificationsSkeleton, SearchAutocomplete, SearchAutocompleteProps, SearchDialog, SearchDialogProps, Widget, WidgetProps, SCFeedWidgetType, SCFeedObjectTemplateType, SCCommentsOrderBy, SCFeedObjectActivitiesType, SCMediaObjectType, SCMediaChunkType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, ChangeGroupCover, ChangeGroupCoverProps, ChangeGroupPicture, ChangeGroupPictureProps, GroupHeader, GroupHeaderProps, GroupHeaderSkeleton, GroupMembersButton, GroupMembersButtonProps, CreateGroupButton, CreateGroupButtonProps, EditGroupButton, EditGroupButtonProps, GroupInviteButton, GroupInviteButtonProps, GroupInfoWidget, GroupInfoWidgetProps, GroupInfoWidgetSkeleton, Group, GroupProps, GroupSkeleton, GroupSubscribeButton, GroupSubscribeButtonProps, GroupMembersWidget, GroupMembersWidgetProps, GroupMembersWidgetSkeleton, GroupRequestsWidget, GroupRequestsWidgetProps, GroupRequestsWidgetSkeleton, Groups, GroupsProps, GroupsSkeleton, GroupForm, GroupFormProps, GroupInvitedWidget, GroupInvitedWidgetProps, GroupInvitedWidgetSkeleton, UserSubscribedGroupsWidget, UserSubscribedGroupsWidgetProps, UserSubscribedGroupsWidgetSkeleton, DefaultDrawerContent, DefaultDrawerContentProps, DefaultHeaderContent, DefaultHeaderContentProps, CreateEventButton, CreateEventButtonProps, EventLocationWidget, EventLocationWidgetProps, EventLocationWidgetSkeleton, Event, EventProps, EventSkeleton, HiddenPlaceholder, UrlTextField, UsernameTextField, EmailTextField, PasswordTextField, PhoneTextField, MetadataField, MetadataFieldProps, InfiniteScroll, StickyBox, useStickyBox, StickyBoxProps, StickyBoxComponent, UseStickyBoxProps, TagChip, TagChipProps, UserDeletedSnackBar, UserDeletedSnackBarProps, UserAvatar, UserAvatarProps, Lightbox, CentralProgress, ConfirmDialog, LanguageSwitcher, MediaChunkUploader, MediaChunkUploaderProps, File, Link, Share, EditMediaProps, MEDIA_TYPE_EMBED, FACEBOOK_SHARE, X_SHARE, LINKEDIN_SHARE, DEFAULT_PRELOAD_OFFSET_VIEWPORT, MIN_PRELOAD_OFFSET_VIEWPORT, MAX_PRELOAD_OFFSET_VIEWPORT, ConsentSolution, ConsentSolutionProps, ConsentSolutionSkeleton, ConsentSolutionButton, ConsentSolutionButtonProps, LEGAL_POLICIES, DEFAULT_FIELDS, DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PAGINATION_OFFSET, DEFAULT_PAGINATION_LIMIT, DEFAULT_WIDGETS_NUMBER, PollSuggestionWidget, PollSuggestionWidgetProps, Incubator, IncubatorSubscribeButton, IncubatorSubscribeButtonProps, IncubatorProps, IncubatorListWidget, IncubatorListWidgetProps, IncubatorDetail, IncubatorDetailProps, IncubatorSuggestionWidget, IncubatorSuggestionWidgetProps, ContributionUtils, bytesToSize, getUnseenNotification, getUnseenNotificationCounter, MessageUploaderUtils, getRelativeTime, Footer, FooterProps, FooterSkeleton, BaseItem, BaseItemProps, BaseDialog, BaseDialogProps, GroupSettingsIconButton, GroupSettingsIconButtonProps, LogoSelfCommunity };
160
+ export { AccountDataPortability, AccountDataPortabilityProps, AccountDataPortabilityButton, AccountDataPortabilityButtonProps, AccountDelete, AccountDeleteProps, AccountDeleteButton, AccountDeleteButtonProps, AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, AccountChangeMailValidation, AccountChangeMailValidationProps, NavigationSettingsIconButton, NavigationSettingsIconButtonProps, NavigationSettingsItem, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarProps, NavigationToolbarSkeleton, NavigationMenuIconButton, NavigationMenuContent, NavigationMenuHeader, NavigationMenuIconButtonProps, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, Category, CategoryProps, CategorySkeleton, CategoryAutocomplete, CategoryAutocompleteProps, CategoryFollowersButton, CategoryFollowersButtonProps, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, Categories, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, UserFollowedCategoriesWidget, UserFollowedCategoriesWidgetProps, UserFollowedCategoriesWidgetSkeleton, CategoriesPopularWidget, CategoriesPopularWidgetSkeleton, CategoriesSuggestionWidget, CategoriesSuggestionWidgetProps, CategoriesSuggestionWidgetSkeleton, ChangeCover, ChangePicture, ChangePictureProps, ChangeCoverProps, Composer, ComposerProps, ComposerIconButton, ComposerIconButtonProps, Editor, EditorProps, EditorSkeleton, FriendshipUserButton, FriendshipButtonProps, Feed, FeedRef, FeedProps, FeedSidebarProps, FeedSkeleton, CategoryFollowButton, CategoryFollowButtonProps, FollowUserButton, FollowUserButtonProps, ConnectionUserButton, FeedObject, FeedObjectProps, FeedObjectSkeleton, FeedObjectMediaPreview, FeedObjectMediaPreviewProps, FeedUpdatesWidget, FeedUpdatesWidgetProps, FeedUpdatesWidgetSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectProps, CommentObjectProps, CommentsObjectSkeleton, CommentObjectSkeleton, CommentObjectReply, CommentObjectReplyProps, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, ReplyComment, InlineComposerWidget, InlineComposerWidgetProps, InlineComposerWidgetSkeleton, Notification, NotificationProps, NotificationSkeleton, UserSuggestionWidget, UserSuggestionWidgetProps, UserSuggestionWidgetSkeleton, PlatformWidget, PlatformWidgetProps, PlatformWidgetSkeleton, LocationAutocomplete, LocationAutocompleteProps, LoyaltyProgramWidget, LoyaltyProgramWidgetProps, LoyaltyProgramWidgetSkeleton, CategoryTrendingFeedWidget, CategoryTrendingFeedWidgetProps, CategoryTrendingFeedWidgetSkeleton, CategoryTrendingUsersWidget, CategoryTrendingUsersWidgetProps, CategoryTrendingPeopleWidgetSkeleton, RelatedFeedObjectsWidget, RelatedFeedObjectWidgetProps, RelatedFeedObjectsWidgetSkeleton, UserActionIconButton, UserActionIconButtonProps, UserCounters, UserCountersProps, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserInfoDialog, UserInfoDialogProps, UserInfo, UserInfoProps, UserInfoSkeleton, UserProfileBlocked, UserProfileBlockedProps, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditProps, UserProfileEditSkeleton, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UserFollowedUsersWidget, UserFollowedUsersWidgetProps, UserFollowedUsersWidgetSkeleton, UserFollowersWidget, UserFollowersWidgetProps, UserFollowersWidgetSkeleton, UserConnectionsWidget, UserConnectionsWidgetProps, UserConnectionsWidgetSkeleton, UserConnectionsRequestsWidget, UserConnectionsRequestsWidgetProps, UserConnectionsRequestsWidgetSkeleton, UserConnectionsRequestsSentWidget, UserConnectionsRequestsSentWidgetProps, UserConnectionsRequestsSentWidgetSkeleton, UserSocialAssociation, UserSocialAssociationProps, SCUserSocialAssociations, VirtualScrollerItemProps, PlatformWidgetActionType, CustomAdv, CustomAdvProps, CustomAdvSkeleton, User, UserProps, UserSkeleton, PrivateMessageThread, PrivateMessageThreadProps, PrivateMessageThreadSkeleton, PrivateMessageThreadItem, PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton, PrivateMessageSnippetItem, PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton, PrivateMessageEditor, PrivateMessageEditorProps, PrivateMessageEditorSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton, PrivateMessageComponent, PrivateMessageComponentProps, PrivateMessageComponentSkeleton, PrivateMessageSettingsIconButton, PrivateMessageSettingsIconButtonProps, ToastNotifications, ToastNotificationsProps, ToastNotificationsSkeleton, SnippetNotifications, SnippetNotificationsProps, SnippetNotificationsSkeleton, SearchAutocomplete, SearchAutocompleteProps, SearchDialog, SearchDialogProps, Widget, WidgetProps, SCFeedWidgetType, SCFeedObjectTemplateType, SCCommentsOrderBy, SCFeedObjectActivitiesType, SCMediaObjectType, SCMediaChunkType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, ChangeGroupCover, ChangeGroupCoverProps, ChangeGroupPicture, ChangeGroupPictureProps, GroupHeader, GroupHeaderProps, GroupHeaderSkeleton, GroupMembersButton, GroupMembersButtonProps, CreateGroupButton, CreateGroupButtonProps, EditGroupButton, EditGroupButtonProps, GroupInviteButton, GroupInviteButtonProps, GroupInfoWidget, GroupInfoWidgetProps, GroupInfoWidgetSkeleton, Group, GroupProps, GroupSkeleton, GroupSubscribeButton, GroupSubscribeButtonProps, GroupMembersWidget, GroupMembersWidgetProps, GroupMembersWidgetSkeleton, GroupRequestsWidget, GroupRequestsWidgetProps, GroupRequestsWidgetSkeleton, Groups, GroupsProps, GroupsSkeleton, GroupForm, GroupFormProps, GroupInvitedWidget, GroupInvitedWidgetProps, GroupInvitedWidgetSkeleton, UserSubscribedGroupsWidget, UserSubscribedGroupsWidgetProps, UserSubscribedGroupsWidgetSkeleton, DefaultDrawerContent, DefaultDrawerContentProps, DefaultHeaderContent, DefaultHeaderContentProps, CreateEventButton, CreateEventButtonProps, EventLocationWidget, EventLocationWidgetProps, EventLocationWidgetSkeleton, Event, EventProps, EventSkeleton, Events, EventsProps, EventsSkeleton, EventSkeletonProps, EventsSkeletonProps, EventInviteButton, EventInviteButtonProps, HiddenPlaceholder, UrlTextField, UsernameTextField, EmailTextField, PasswordTextField, PhoneTextField, MetadataField, MetadataFieldProps, InfiniteScroll, StickyBox, useStickyBox, StickyBoxProps, StickyBoxComponent, UseStickyBoxProps, TagChip, TagChipProps, UserDeletedSnackBar, UserDeletedSnackBarProps, UserAvatar, UserAvatarProps, Lightbox, CentralProgress, ConfirmDialog, LanguageSwitcher, MediaChunkUploader, MediaChunkUploaderProps, File, Link, Share, EditMediaProps, MEDIA_TYPE_EMBED, FACEBOOK_SHARE, X_SHARE, LINKEDIN_SHARE, DEFAULT_PRELOAD_OFFSET_VIEWPORT, MIN_PRELOAD_OFFSET_VIEWPORT, MAX_PRELOAD_OFFSET_VIEWPORT, ConsentSolution, ConsentSolutionProps, ConsentSolutionSkeleton, ConsentSolutionButton, ConsentSolutionButtonProps, LEGAL_POLICIES, DEFAULT_FIELDS, DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PAGINATION_OFFSET, DEFAULT_PAGINATION_LIMIT, DEFAULT_WIDGETS_NUMBER, PollSuggestionWidget, PollSuggestionWidgetProps, Incubator, IncubatorSubscribeButton, IncubatorSubscribeButtonProps, IncubatorProps, IncubatorListWidget, IncubatorListWidgetProps, IncubatorDetail, IncubatorDetailProps, IncubatorSuggestionWidget, IncubatorSuggestionWidgetProps, ContributionUtils, bytesToSize, getUnseenNotification, getUnseenNotificationCounter, MessageUploaderUtils, getRelativeTime, Footer, FooterProps, FooterSkeleton, BaseItem, BaseItemProps, BaseDialog, BaseDialogProps, GroupSettingsIconButton, GroupSettingsIconButtonProps, LogoSelfCommunity };