@selfcommunity/react-ui 0.5.0-alpha.0 → 0.5.0-alpha.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 (51) hide show
  1. package/lib/cjs/components/AccountRecover/AccountRecover.d.ts +12 -5
  2. package/lib/cjs/components/AccountRecover/AccountRecover.d.ts.map +1 -1
  3. package/lib/cjs/components/AccountRecover/AccountRecover.js +19 -8
  4. package/lib/cjs/components/AccountRecover/AccountRecover.js.map +1 -1
  5. package/lib/cjs/components/AccountReset/AccountReset.d.ts +13 -6
  6. package/lib/cjs/components/AccountReset/AccountReset.d.ts.map +1 -1
  7. package/lib/cjs/components/AccountReset/AccountReset.js +25 -9
  8. package/lib/cjs/components/AccountReset/AccountReset.js.map +1 -1
  9. package/lib/cjs/components/AccountVerify/AccountVerify.d.ts +7 -0
  10. package/lib/cjs/components/AccountVerify/AccountVerify.d.ts.map +1 -1
  11. package/lib/cjs/components/AccountVerify/AccountVerify.js +8 -3
  12. package/lib/cjs/components/AccountVerify/AccountVerify.js.map +1 -1
  13. package/lib/cjs/components/Feed/Feed.d.ts +20 -0
  14. package/lib/cjs/components/Feed/Feed.d.ts.map +1 -1
  15. package/lib/cjs/components/Feed/Feed.js +24 -3
  16. package/lib/cjs/components/Feed/Feed.js.map +1 -1
  17. package/lib/cjs/components/Feed/prefetchedData.d.ts +287 -19
  18. package/lib/cjs/components/Feed/prefetchedData.d.ts.map +1 -1
  19. package/lib/cjs/components/Feed/prefetchedData.js +513 -1
  20. package/lib/cjs/components/Feed/prefetchedData.js.map +1 -1
  21. package/lib/cjs/shared/InfiniteScroll/index.d.ts +2 -0
  22. package/lib/cjs/shared/InfiniteScroll/index.d.ts.map +1 -1
  23. package/lib/cjs/shared/InfiniteScroll/index.js +3 -1
  24. package/lib/cjs/shared/InfiniteScroll/index.js.map +1 -1
  25. package/lib/esm/components/AccountRecover/AccountRecover.d.ts +12 -5
  26. package/lib/esm/components/AccountRecover/AccountRecover.d.ts.map +1 -1
  27. package/lib/esm/components/AccountRecover/AccountRecover.js +21 -10
  28. package/lib/esm/components/AccountRecover/AccountRecover.js.map +1 -1
  29. package/lib/esm/components/AccountReset/AccountReset.d.ts +13 -6
  30. package/lib/esm/components/AccountReset/AccountReset.d.ts.map +1 -1
  31. package/lib/esm/components/AccountReset/AccountReset.js +27 -11
  32. package/lib/esm/components/AccountReset/AccountReset.js.map +1 -1
  33. package/lib/esm/components/AccountVerify/AccountVerify.d.ts +7 -0
  34. package/lib/esm/components/AccountVerify/AccountVerify.d.ts.map +1 -1
  35. package/lib/esm/components/AccountVerify/AccountVerify.js +8 -3
  36. package/lib/esm/components/AccountVerify/AccountVerify.js.map +1 -1
  37. package/lib/esm/components/Feed/Feed.d.ts +20 -0
  38. package/lib/esm/components/Feed/Feed.d.ts.map +1 -1
  39. package/lib/esm/components/Feed/Feed.js +25 -4
  40. package/lib/esm/components/Feed/Feed.js.map +1 -1
  41. package/lib/esm/components/Feed/prefetchedData.d.ts +287 -19
  42. package/lib/esm/components/Feed/prefetchedData.d.ts.map +1 -1
  43. package/lib/esm/components/Feed/prefetchedData.js +513 -1
  44. package/lib/esm/components/Feed/prefetchedData.js.map +1 -1
  45. package/lib/esm/shared/InfiniteScroll/index.d.ts +2 -0
  46. package/lib/esm/shared/InfiniteScroll/index.d.ts.map +1 -1
  47. package/lib/esm/shared/InfiniteScroll/index.js +3 -1
  48. package/lib/esm/shared/InfiniteScroll/index.js.map +1 -1
  49. package/lib/umd/react-ui.js +2 -2
  50. package/lib/umd/react-ui.js.map +1 -1
  51. package/package.json +7 -7
@@ -2,7 +2,7 @@ declare const exampleExploreData: {
2
2
  count: number;
3
3
  next: string;
4
4
  previous: string;
5
- results: {
5
+ results: ({
6
6
  type: string;
7
7
  post: {
8
8
  id: number;
@@ -18,33 +18,101 @@ declare const exampleExploreData: {
18
18
  followers_counter: number;
19
19
  posts_counter: number;
20
20
  discussions_counter: number;
21
- polls_counter: number;
22
21
  categories_counter: number;
23
22
  date_joined: string;
24
23
  bio: string;
25
24
  location: string;
26
- location_lat_lng: string;
25
+ location_lat_lng: any;
27
26
  position_lat_lng: any;
28
- date_of_birth: string;
27
+ date_of_birth: any;
29
28
  description: string;
30
29
  gender: string;
31
30
  website: string;
32
31
  cover: any;
33
- tags: {
32
+ tags: any[];
33
+ reputation: number;
34
+ company_name: any;
35
+ company_role: any;
36
+ };
37
+ added_at: string;
38
+ last_edited_at: any;
39
+ html: string;
40
+ summary: string;
41
+ deleted: boolean;
42
+ collapsed: boolean;
43
+ comment_count: number;
44
+ view_count: number;
45
+ vote_count: number;
46
+ reactions_count: any[];
47
+ voted: boolean;
48
+ reaction: any;
49
+ follower_count: number;
50
+ followed: boolean;
51
+ suspended: boolean;
52
+ flag_count: number;
53
+ share_count: number;
54
+ slug: string;
55
+ categories: any[];
56
+ medias: {
57
+ id: number;
58
+ added_at: string;
59
+ type: string;
60
+ title: string;
61
+ description: string;
62
+ url: string;
63
+ image: any;
64
+ image_width: any;
65
+ image_height: any;
66
+ order: any;
67
+ embed: {
34
68
  id: number;
35
- active: boolean;
36
- type: string;
37
- name: string;
38
- description: string;
39
- color: string;
40
- visible: boolean;
41
- visibility_boost: boolean;
42
- deleted: boolean;
43
- created_at: string;
44
- }[];
69
+ embed_type: string;
70
+ embed_id: string;
71
+ url: string;
72
+ metadata: {
73
+ id: number;
74
+ type: string;
75
+ };
76
+ };
77
+ }[];
78
+ location: any;
79
+ addressing: any[];
80
+ poll: any;
81
+ };
82
+ seen_by_id: number[];
83
+ has_boost: boolean;
84
+ discussion?: undefined;
85
+ } | {
86
+ type: string;
87
+ discussion: {
88
+ id: number;
89
+ type: string;
90
+ last_activity_at: string;
91
+ author: {
92
+ id: number;
93
+ username: string;
94
+ real_name: string;
95
+ avatar: string;
96
+ ext_id: any;
97
+ followings_counter: number;
98
+ followers_counter: number;
99
+ posts_counter: number;
100
+ discussions_counter: number;
101
+ categories_counter: number;
102
+ date_joined: string;
103
+ bio: string;
104
+ location: string;
105
+ location_lat_lng: any;
106
+ position_lat_lng: any;
107
+ date_of_birth: string;
108
+ description: string;
109
+ gender: string;
110
+ website: string;
111
+ cover: any;
112
+ tags: any[];
45
113
  reputation: number;
46
- company_name: string;
47
- company_role: string;
114
+ company_name: any;
115
+ company_role: any;
48
116
  };
49
117
  added_at: string;
50
118
  last_edited_at: any;
@@ -73,7 +141,7 @@ declare const exampleExploreData: {
73
141
  name_synonyms: string;
74
142
  slug: string;
75
143
  slogan: string;
76
- html_info: string;
144
+ html_info: any;
77
145
  seo_title: string;
78
146
  seo_description: string;
79
147
  auto_follow: string;
@@ -93,10 +161,210 @@ declare const exampleExploreData: {
93
161
  location: any;
94
162
  addressing: any[];
95
163
  poll: any;
164
+ title: string;
165
+ };
166
+ seen_by_id: number[];
167
+ has_boost: boolean;
168
+ post?: undefined;
169
+ } | {
170
+ type: string;
171
+ discussion: {
172
+ id: number;
173
+ type: string;
174
+ last_activity_at: string;
175
+ author: {
176
+ id: number;
177
+ username: string;
178
+ real_name: string;
179
+ avatar: string;
180
+ ext_id: any;
181
+ followings_counter: number;
182
+ followers_counter: number;
183
+ posts_counter: number;
184
+ discussions_counter: number;
185
+ categories_counter: number;
186
+ date_joined: string;
187
+ bio: string;
188
+ location: string;
189
+ location_lat_lng: any;
190
+ position_lat_lng: any;
191
+ date_of_birth: any;
192
+ description: string;
193
+ gender: string;
194
+ website: string;
195
+ cover: any;
196
+ tags: any[];
197
+ reputation: number;
198
+ company_name: any;
199
+ company_role: any;
200
+ };
201
+ added_at: string;
202
+ last_edited_at: any;
203
+ html: string;
204
+ summary: string;
205
+ deleted: boolean;
206
+ collapsed: boolean;
207
+ comment_count: number;
208
+ view_count: number;
209
+ vote_count: number;
210
+ reactions_count: any[];
211
+ voted: boolean;
212
+ reaction: any;
213
+ follower_count: number;
214
+ followed: boolean;
215
+ suspended: boolean;
216
+ flag_count: number;
217
+ share_count: number;
218
+ slug: string;
219
+ categories: {
220
+ id: number;
221
+ tags: any[];
222
+ followed: boolean;
223
+ order: number;
224
+ name: string;
225
+ name_synonyms: string;
226
+ slug: string;
227
+ slogan: string;
228
+ html_info: string;
229
+ seo_title: string;
230
+ seo_description: string;
231
+ auto_follow: string;
232
+ active: boolean;
233
+ image_original: string;
234
+ image_bigger: string;
235
+ image_big: string;
236
+ image_medium: string;
237
+ image_small: string;
238
+ emotional_image_original: string;
239
+ emotional_image_position: number;
240
+ lastmod_datetime: string;
241
+ stream_order_by: string;
242
+ followers_counter: number;
243
+ }[];
244
+ medias: {
245
+ id: number;
246
+ added_at: string;
247
+ type: string;
248
+ title: any;
249
+ description: any;
250
+ url: any;
251
+ image: any;
252
+ image_width: any;
253
+ image_height: any;
254
+ order: any;
255
+ embed: {
256
+ id: number;
257
+ embed_type: string;
258
+ embed_id: string;
259
+ url: any;
260
+ metadata: {
261
+ isbn: string;
262
+ type: string;
263
+ authors: string[];
264
+ product: string;
265
+ };
266
+ };
267
+ }[];
268
+ location: any;
269
+ addressing: any[];
270
+ poll: any;
271
+ title: string;
272
+ };
273
+ seen_by_id: number[];
274
+ has_boost: boolean;
275
+ post?: undefined;
276
+ } | {
277
+ type: string;
278
+ post: {
279
+ id: number;
280
+ type: string;
281
+ last_activity_at: string;
282
+ author: {
283
+ id: number;
284
+ username: string;
285
+ real_name: string;
286
+ avatar: string;
287
+ ext_id: any;
288
+ followings_counter: number;
289
+ followers_counter: number;
290
+ posts_counter: number;
291
+ discussions_counter: number;
292
+ categories_counter: number;
293
+ date_joined: string;
294
+ bio: string;
295
+ location: string;
296
+ location_lat_lng: any;
297
+ position_lat_lng: any;
298
+ date_of_birth: string;
299
+ description: string;
300
+ gender: string;
301
+ website: string;
302
+ cover: any;
303
+ tags: any[];
304
+ reputation: number;
305
+ company_name: any;
306
+ company_role: any;
307
+ };
308
+ added_at: string;
309
+ last_edited_at: any;
310
+ html: string;
311
+ summary: string;
312
+ deleted: boolean;
313
+ collapsed: boolean;
314
+ comment_count: number;
315
+ view_count: number;
316
+ vote_count: number;
317
+ reactions_count: {
318
+ reaction: {
319
+ id: number;
320
+ label: string;
321
+ image: string;
322
+ sentiment: number;
323
+ active: boolean;
324
+ };
325
+ count: number;
326
+ }[];
327
+ voted: boolean;
328
+ reaction: any;
329
+ follower_count: number;
330
+ followed: boolean;
331
+ suspended: boolean;
332
+ flag_count: number;
333
+ share_count: number;
334
+ slug: string;
335
+ categories: any[];
336
+ medias: {
337
+ id: number;
338
+ added_at: string;
339
+ type: string;
340
+ title: any;
341
+ description: any;
342
+ url: any;
343
+ image: any;
344
+ image_width: any;
345
+ image_height: any;
346
+ order: any;
347
+ embed: {
348
+ id: number;
349
+ embed_type: string;
350
+ embed_id: string;
351
+ url: any;
352
+ metadata: {
353
+ isbn: string;
354
+ type: string;
355
+ authors: string[];
356
+ product: string;
357
+ };
358
+ };
359
+ }[];
360
+ location: any;
361
+ addressing: any[];
362
+ poll: any;
96
363
  };
97
364
  seen_by_id: number[];
98
365
  has_boost: boolean;
99
- }[];
366
+ discussion?: undefined;
367
+ })[];
100
368
  };
101
369
  export { exampleExploreData };
102
370
  //# sourceMappingURL=prefetchedData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prefetchedData.d.ts","sourceRoot":"","sources":["../../../../src/components/Feed/prefetchedData.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAk5f,CAAC;AAC36f,OAAO,EACL,kBAAkB,EACnB,CAAC"}
1
+ {"version":3,"file":"prefetchedData.d.ts","sourceRoot":"","sources":["../../../../src/components/Feed/prefetchedData.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwgBvB,CAAC;AACF,OAAO,EAAC,kBAAkB,EAAC,CAAC"}