@paris-ias/trees 2.0.7 → 2.0.8

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 (57) hide show
  1. package/dist/form/actions.cjs.js +102 -0
  2. package/dist/form/actions.js +3 -1
  3. package/dist/form/affiliations.cjs.js +197 -0
  4. package/dist/form/affiliations.js +3 -1
  5. package/dist/form/apps.cjs.js +151 -0
  6. package/dist/form/apps.js +3 -1
  7. package/dist/form/disciplines.cjs.js +49 -0
  8. package/dist/form/disciplines.js +3 -1
  9. package/dist/form/events.cjs.js +855 -0
  10. package/dist/form/events.js +3 -1
  11. package/dist/form/fellowships.cjs.js +1326 -0
  12. package/dist/form/fellowships.js +3 -1
  13. package/dist/form/files.cjs.js +49 -0
  14. package/dist/form/files.js +3 -1
  15. package/dist/form/mailing.cjs.js +62 -0
  16. package/dist/form/mailing.js +3 -1
  17. package/dist/form/news.cjs.js +271 -0
  18. package/dist/form/news.js +3 -1
  19. package/dist/form/people.cjs.js +677 -0
  20. package/dist/form/people.js +3 -1
  21. package/dist/form/projects.cjs.js +357 -0
  22. package/dist/form/projects.js +3 -1
  23. package/dist/form/publications.cjs.js +383 -0
  24. package/dist/form/publications.js +3 -1
  25. package/dist/form/tags.cjs.js +57 -0
  26. package/dist/form/tags.js +3 -1
  27. package/dist/form/users.cjs.js +595 -0
  28. package/dist/form/users.js +3 -1
  29. package/dist/list/actions.cjs.js +152 -0
  30. package/dist/list/actions.js +3 -1
  31. package/dist/list/affiliations.cjs.js +152 -0
  32. package/dist/list/affiliations.js +3 -1
  33. package/dist/list/apps.cjs.js +152 -0
  34. package/dist/list/apps.js +3 -1
  35. package/dist/list/disciplines.cjs.js +151 -0
  36. package/dist/list/disciplines.js +3 -1
  37. package/dist/list/events.cjs.js +205 -0
  38. package/dist/list/events.js +3 -1
  39. package/dist/list/fellowships.cjs.js +168 -0
  40. package/dist/list/fellowships.js +3 -1
  41. package/dist/list/files.cjs.js +151 -0
  42. package/dist/list/files.js +3 -1
  43. package/dist/list/mailing.cjs.js +151 -0
  44. package/dist/list/mailing.js +3 -1
  45. package/dist/list/news.cjs.js +154 -0
  46. package/dist/list/news.js +3 -1
  47. package/dist/list/people.cjs.js +195 -0
  48. package/dist/list/people.js +3 -1
  49. package/dist/list/projects.cjs.js +154 -0
  50. package/dist/list/projects.js +3 -1
  51. package/dist/list/publications.cjs.js +171 -0
  52. package/dist/list/publications.js +3 -1
  53. package/dist/list/tags.cjs.js +152 -0
  54. package/dist/list/tags.js +3 -1
  55. package/dist/list/users.cjs.js +195 -0
  56. package/dist/list/users.js +3 -1
  57. package/package.json +65 -31
@@ -1319,4 +1319,6 @@ const data = {
1319
1319
  }
1320
1320
  };
1321
1321
 
1322
- export default deepFreeze(data);
1322
+ var fellowships = deepFreeze(data);
1323
+
1324
+ export { fellowships as default };
@@ -0,0 +1,49 @@
1
+ 'use strict';
2
+
3
+ // Deep freeze utility to make exports immutable
4
+ const deepFreeze = (obj) => {
5
+ Object.freeze(obj);
6
+ Object.getOwnPropertyNames(obj).forEach(prop => {
7
+ if (obj[prop] !== null
8
+ && (typeof obj[prop] === "object" || typeof obj[prop] === "function")
9
+ && !Object.isFrozen(obj[prop])) {
10
+ deepFreeze(obj[prop]);
11
+ }
12
+ });
13
+ return obj;
14
+ };
15
+
16
+ const data = {
17
+ "_defaults": {
18
+ "name": "",
19
+ "file": ""
20
+ },
21
+ "schema": {
22
+ "name": {
23
+ "label": "name",
24
+ "component": "TextField",
25
+ "type": "PRIMITIVE",
26
+ "rules": {
27
+ "required": true,
28
+ "min": 5,
29
+ "max": 200
30
+ },
31
+ "meta": "name"
32
+ },
33
+ "file": {
34
+ "label": "file",
35
+ "component": "TextField",
36
+ "type": "PRIMITIVE",
37
+ "rules": {
38
+ "required": true,
39
+ "min": 5,
40
+ "max": 200
41
+ },
42
+ "meta": "file"
43
+ }
44
+ }
45
+ };
46
+
47
+ var files = deepFreeze(data);
48
+
49
+ module.exports = files;
@@ -42,4 +42,6 @@ const data = {
42
42
  }
43
43
  };
44
44
 
45
- export default deepFreeze(data);
45
+ var files = deepFreeze(data);
46
+
47
+ export { files as default };
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ // Deep freeze utility to make exports immutable
4
+ const deepFreeze = (obj) => {
5
+ Object.freeze(obj);
6
+ Object.getOwnPropertyNames(obj).forEach(prop => {
7
+ if (obj[prop] !== null
8
+ && (typeof obj[prop] === "object" || typeof obj[prop] === "function")
9
+ && !Object.isFrozen(obj[prop])) {
10
+ deepFreeze(obj[prop]);
11
+ }
12
+ });
13
+ return obj;
14
+ };
15
+
16
+ const data = {
17
+ "_defaults": {
18
+ "name": "",
19
+ "content": "",
20
+ "date": ""
21
+ },
22
+ "schema": {
23
+ "name": {
24
+ "label": "name",
25
+ "component": "TextField",
26
+ "type": "PRIMITIVE",
27
+ "rules": {
28
+ "required": true,
29
+ "min": 5,
30
+ "max": 200
31
+ },
32
+ "meta": "name"
33
+ },
34
+ "content": {
35
+ "label": "content",
36
+ "component": "TextField",
37
+ "type": "PRIMITIVE",
38
+ "rules": {
39
+ "required": true,
40
+ "min": 5,
41
+ "max": 200
42
+ },
43
+ "meta": "content"
44
+ },
45
+ "date": {
46
+ "label": "date",
47
+ "component": "TextField",
48
+ "description": "The date when the mailing will be sent",
49
+ "type": "PRIMITIVE",
50
+ "rules": {
51
+ "required": true,
52
+ "min": 5,
53
+ "max": 200
54
+ },
55
+ "meta": "date"
56
+ }
57
+ }
58
+ };
59
+
60
+ var mailing = deepFreeze(data);
61
+
62
+ module.exports = mailing;
@@ -55,4 +55,6 @@ const data = {
55
55
  }
56
56
  };
57
57
 
58
- export default deepFreeze(data);
58
+ var mailing = deepFreeze(data);
59
+
60
+ export { mailing as default };
@@ -0,0 +1,271 @@
1
+ 'use strict';
2
+
3
+ // Deep freeze utility to make exports immutable
4
+ const deepFreeze = (obj) => {
5
+ Object.freeze(obj);
6
+ Object.getOwnPropertyNames(obj).forEach(prop => {
7
+ if (obj[prop] !== null
8
+ && (typeof obj[prop] === "object" || typeof obj[prop] === "function")
9
+ && !Object.isFrozen(obj[prop])) {
10
+ deepFreeze(obj[prop]);
11
+ }
12
+ });
13
+ return obj;
14
+ };
15
+
16
+ const data = {
17
+ "_defaults": {
18
+ "name": {
19
+ "en": "",
20
+ "fr": ""
21
+ },
22
+ "summary": {
23
+ "en": "",
24
+ "fr": ""
25
+ },
26
+ "subtitle": {
27
+ "en": "",
28
+ "fr": ""
29
+ },
30
+ "description": {
31
+ "en": "",
32
+ "fr": ""
33
+ },
34
+ "image": "",
35
+ "color": "",
36
+ "url": "",
37
+ "files": "",
38
+ "gallery": "",
39
+ "date": "",
40
+ "featured": "",
41
+ "tags": "",
42
+ "related": {
43
+ "events": "",
44
+ "news": "",
45
+ "people": "",
46
+ "publications": "",
47
+ "projects": "",
48
+ "fellowships": ""
49
+ },
50
+ "category": ""
51
+ },
52
+ "schema": {
53
+ "name": {
54
+ "label": "name",
55
+ "component": "TextField",
56
+ "type": "PRIMITIVE",
57
+ "i18n": true,
58
+ "rules": {
59
+ "required": true,
60
+ "min": 5,
61
+ "max": 200
62
+ },
63
+ "meta": "name"
64
+ },
65
+ "summary": {
66
+ "label": "summary",
67
+ "component": "TextArea",
68
+ "type": "PRIMITIVE",
69
+ "i18n": true,
70
+ "rules": {
71
+ "required": true,
72
+ "min": 5,
73
+ "max": 200
74
+ },
75
+ "meta": "summary"
76
+ },
77
+ "subtitle": {
78
+ "label": "subtitle",
79
+ "component": "TextField",
80
+ "type": "PRIMITIVE",
81
+ "i18n": true,
82
+ "rules": {
83
+ "required": true,
84
+ "min": 5,
85
+ "max": 200
86
+ },
87
+ "meta": "subtitle"
88
+ },
89
+ "description": {
90
+ "label": "description",
91
+ "component": "TextArea",
92
+ "i18n": true,
93
+ "type": "PRIMITIVE",
94
+ "rules": {
95
+ "required": true,
96
+ "min": 5,
97
+ "max": 200
98
+ },
99
+ "meta": "description"
100
+ },
101
+ "image": {
102
+ "label": "image",
103
+ "component": "ImagePicker",
104
+ "type": "DOCUMENT",
105
+ "rules": {
106
+ "required": true
107
+ },
108
+ "meta": "image",
109
+ "default": ""
110
+ },
111
+ "color": {
112
+ "label": "color",
113
+ "component": "ColorPicker",
114
+ "type": "PRIMITIVE",
115
+ "rules": {
116
+ "required": true,
117
+ "color": true
118
+ },
119
+ "meta": "color"
120
+ },
121
+ "url": {
122
+ "label": "url",
123
+ "component": "TextField",
124
+ "type": "PRIMITIVE",
125
+ "rules": {
126
+ "required": true,
127
+ "url": true
128
+ },
129
+ "meta": "url"
130
+ },
131
+ "files": {
132
+ "label": "files",
133
+ "component": "FilePicker",
134
+ "type": "DOCUMENT",
135
+ "rules": {
136
+ "required": true
137
+ },
138
+ "meta": "files",
139
+ "default": ""
140
+ },
141
+ "gallery": {
142
+ "label": "gallery",
143
+ "component": "ImagePicker",
144
+ "type": "DOCUMENT",
145
+ "multiple": true,
146
+ "meta": "gallery",
147
+ "default": ""
148
+ },
149
+ "date": {
150
+ "label": "date",
151
+ "component": "DatePicker",
152
+ "type": "PRIMITIVE",
153
+ "rules": {
154
+ "required": true,
155
+ "date": true
156
+ },
157
+ "meta": "date"
158
+ },
159
+ "featured": {
160
+ "label": "featured",
161
+ "component": "DatePicker",
162
+ "type": "PRIMITIVE",
163
+ "rules": {
164
+ "required": true,
165
+ "date": true
166
+ },
167
+ "meta": "featured"
168
+ },
169
+ "tags": {
170
+ "label": "tags",
171
+ "component": "TagPicker",
172
+ "type": "DOCUMENT",
173
+ "rules": {
174
+ "required": true,
175
+ "min": 1
176
+ },
177
+ "meta": "tags",
178
+ "default": ""
179
+ },
180
+ "related": {
181
+ "label": "related",
182
+ "component": "ObjectContainerPanel",
183
+ "type": "OBJECT",
184
+ "rules": {
185
+ "required": true,
186
+ "min": 5,
187
+ "max": 200
188
+ },
189
+ "meta": "related",
190
+ "items": {
191
+ "events": {
192
+ "label": "relatedEvent",
193
+ "component": "DocumentPicker",
194
+ "type": "DOCUMENT",
195
+ "meta": "event",
196
+ "default": ""
197
+ },
198
+ "news": {
199
+ "label": "relatedNews",
200
+ "component": "DocumentPicker",
201
+ "type": "DOCUMENT",
202
+ "meta": "news",
203
+ "default": ""
204
+ },
205
+ "people": {
206
+ "label": "relatedPeople",
207
+ "component": "DocumentPicker",
208
+ "type": "DOCUMENT",
209
+ "meta": "people",
210
+ "default": ""
211
+ },
212
+ "publications": {
213
+ "label": "relatedPublication",
214
+ "component": "DocumentPicker",
215
+ "type": "DOCUMENT",
216
+ "meta": "publication",
217
+ "default": ""
218
+ },
219
+ "projects": {
220
+ "label": "relatedProject",
221
+ "component": "DocumentPicker",
222
+ "type": "DOCUMENT",
223
+ "meta": "project",
224
+ "default": ""
225
+ },
226
+ "fellowships": {
227
+ "label": "relatedFellowships",
228
+ "component": "DocumentPicker",
229
+ "type": "DOCUMENT",
230
+ "meta": "fellowship",
231
+ "default": ""
232
+ }
233
+ }
234
+ },
235
+ "category": {
236
+ "label": "category",
237
+ "component": "Select",
238
+ "type": "PRIMITIVE",
239
+ "rules": {
240
+ "required": true
241
+ },
242
+ "items": {
243
+ "PressRelease": "PRESS_RELEASE",
244
+ "Interview": "INTERVIEW",
245
+ "Article": "ARTICLE",
246
+ "Opinion": "OPINION",
247
+ "Report": "REPORT",
248
+ "Blog": "BLOG",
249
+ "LifeAtTheInstitute": "LIFE_AT_THE_INSTITUTE",
250
+ "Event": "EVENT",
251
+ "Announcement": "ANNOUNCEMENT",
252
+ "Job": "JOB",
253
+ "Fellowship": "FELLOWSHIP",
254
+ "Grant": "GRANT",
255
+ "Award": "AWARD",
256
+ "Project": "PROJECT",
257
+ "Tool": "TOOL",
258
+ "Software": "SOFTWARE",
259
+ "Data": "DATA",
260
+ "Publication": "PUBLICATION",
261
+ "Video": "VIDEO",
262
+ "Audio": "AUDIO"
263
+ },
264
+ "meta": "category"
265
+ }
266
+ }
267
+ };
268
+
269
+ var news = deepFreeze(data);
270
+
271
+ module.exports = news;
package/dist/form/news.js CHANGED
@@ -264,4 +264,6 @@ const data = {
264
264
  }
265
265
  };
266
266
 
267
- export default deepFreeze(data);
267
+ var news = deepFreeze(data);
268
+
269
+ export { news as default };