@paris-ias/trees 2.0.7 → 2.0.9

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 (70) 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/graphql/client/actions/query.get.actions.gql +1 -4
  30. package/dist/graphql/client/affiliations/query.get.affiliations.gql +1 -4
  31. package/dist/graphql/client/apps/query.get.apps.gql +1 -4
  32. package/dist/graphql/client/events/query.get.events.gql +1 -4
  33. package/dist/graphql/client/fellowships/query.get.fellowships.gql +1 -4
  34. package/dist/graphql/client/misc/query.get.disciplines.gql +1 -4
  35. package/dist/graphql/client/misc/query.get.tags.gql +1 -4
  36. package/dist/graphql/client/misc/query.search.all.gql +0 -5
  37. package/dist/graphql/client/news/query.get.news.gql +1 -4
  38. package/dist/graphql/client/people/query.get.users.gql +1 -4
  39. package/dist/graphql/client/projects/query.get.projects.gql +1 -4
  40. package/dist/graphql/client/publications/query.get.publications.gql +1 -4
  41. package/dist/list/actions.cjs.js +152 -0
  42. package/dist/list/actions.js +3 -1
  43. package/dist/list/affiliations.cjs.js +152 -0
  44. package/dist/list/affiliations.js +3 -1
  45. package/dist/list/apps.cjs.js +152 -0
  46. package/dist/list/apps.js +3 -1
  47. package/dist/list/disciplines.cjs.js +151 -0
  48. package/dist/list/disciplines.js +3 -1
  49. package/dist/list/events.cjs.js +205 -0
  50. package/dist/list/events.js +3 -1
  51. package/dist/list/fellowships.cjs.js +168 -0
  52. package/dist/list/fellowships.js +3 -1
  53. package/dist/list/files.cjs.js +151 -0
  54. package/dist/list/files.js +3 -1
  55. package/dist/list/mailing.cjs.js +151 -0
  56. package/dist/list/mailing.js +3 -1
  57. package/dist/list/news.cjs.js +154 -0
  58. package/dist/list/news.js +3 -1
  59. package/dist/list/people.cjs.js +195 -0
  60. package/dist/list/people.js +3 -1
  61. package/dist/list/projects.cjs.js +154 -0
  62. package/dist/list/projects.js +3 -1
  63. package/dist/list/publications.cjs.js +171 -0
  64. package/dist/list/publications.js +3 -1
  65. package/dist/list/tags.cjs.js +152 -0
  66. package/dist/list/tags.js +3 -1
  67. package/dist/list/users.cjs.js +195 -0
  68. package/dist/list/users.js +3 -1
  69. package/package.json +65 -31
  70. package/readme.md +9 -9
@@ -144,4 +144,6 @@ const data = {
144
144
  ]
145
145
  };
146
146
 
147
- export default deepFreeze(data);
147
+ var disciplines = deepFreeze(data);
148
+
149
+ export { disciplines as default };
@@ -0,0 +1,205 @@
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
+ "items": [
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {},
24
+ {},
25
+ {},
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {},
36
+ {},
37
+ {}
38
+ ],
39
+ "itemsPerPage": 20,
40
+ "itemsPerPageArray": [
41
+ 20,
42
+ 40,
43
+ 60,
44
+ 80,
45
+ 100
46
+ ],
47
+ "filtersCount": 0,
48
+ "views": {
49
+ "rows": {
50
+ "name": "rows",
51
+ "icon": "view-list",
52
+ "perPage": {
53
+ "options": [
54
+ 9,
55
+ 12,
56
+ 16
57
+ ],
58
+ "default": 9
59
+ }
60
+ },
61
+ "dense": {
62
+ "default": true,
63
+ "name": "dense",
64
+ "icon": "land-rows-horizontal",
65
+ "perPage": {
66
+ "options": [
67
+ 20,
68
+ 40,
69
+ 60,
70
+ 80,
71
+ 100
72
+ ],
73
+ "default": 20
74
+ }
75
+ }
76
+ },
77
+ "sort": {
78
+ "nameasc": {
79
+ "icon": "sort-alphabetical-ascending",
80
+ "text": "by-name-from-a-to-z",
81
+ "value": [
82
+ "name",
83
+ 1
84
+ ]
85
+ },
86
+ "namedesc": {
87
+ "icon": "sort-alphabetical-descending",
88
+ "text": "by-name-from-z-to-a",
89
+ "value": [
90
+ "name",
91
+ -1
92
+ ]
93
+ },
94
+ "dateasc": {
95
+ "icon": "sort-calendar-descending",
96
+ "text": "by-date-most-recent-first",
97
+ "value": [
98
+ "start",
99
+ -1
100
+ ],
101
+ "default": true
102
+ },
103
+ "datedesc": {
104
+ "icon": "sort-calendar-ascending",
105
+ "text": "by-date-oldest-first",
106
+ "value": [
107
+ "start",
108
+ 1
109
+ ]
110
+ }
111
+ },
112
+ "view": {
113
+ "default": true,
114
+ "name": "dense",
115
+ "icon": "land-rows-horizontal",
116
+ "perPage": {
117
+ "options": [
118
+ 20,
119
+ 40,
120
+ 60,
121
+ 80,
122
+ 100
123
+ ],
124
+ "default": 20
125
+ }
126
+ },
127
+ "filters": {
128
+ "category": {
129
+ "type": "Select",
130
+ "items": {
131
+ "Seminar": "SEMINAR",
132
+ "Workshop": "WORKSHOP",
133
+ "Conference": "CONFERENCE",
134
+ "ConferenceCycle": "CONFERENCE_CYCLE",
135
+ "Lecture": "LECTURE",
136
+ "Symposium": "SYMPOSIUM",
137
+ "Meeting": "MEETING",
138
+ "Colloquium": "COLLOQUIUM",
139
+ "Forum": "FORUM",
140
+ "RoundTable": "ROUND_TABLE",
141
+ "Panel": "PANEL",
142
+ "Webinar": "WEBINAR",
143
+ "FellowPresentation": "FELLOW_PRESENTATION",
144
+ "Other": "OTHER"
145
+ },
146
+ "multiple": true
147
+ },
148
+ "status": {
149
+ "type": "Select",
150
+ "items": {
151
+ "Open": "OPEN",
152
+ "Full": "FULL",
153
+ "Closed": "CLOSED"
154
+ }
155
+ },
156
+ "organiserCategory": {
157
+ "type": "Select",
158
+ "items": {
159
+ "Ias": "IAS",
160
+ "Member": "MEMBER",
161
+ "Fellow": "FELLOW",
162
+ "External": "EXTERNAL"
163
+ },
164
+ "multiple": true
165
+ },
166
+ "tags": {
167
+ "type": "AutoComplete",
168
+ "items": [],
169
+ "multiple": true
170
+ },
171
+ "disciplines": {
172
+ "type": "AutoComplete",
173
+ "items": [],
174
+ "multiple": true
175
+ },
176
+ "fellowship": {
177
+ "type": "AutoComplete",
178
+ "items": [],
179
+ "multiple": true
180
+ },
181
+ "online": {
182
+ "type": "Checkbox",
183
+ "items": false
184
+ },
185
+ "outside": {
186
+ "type": "Checkbox",
187
+ "items": false
188
+ },
189
+ "past": {
190
+ "type": "Checkbox",
191
+ "items": false
192
+ }
193
+ },
194
+ "limit": 20,
195
+ "sortBy": [
196
+ "start"
197
+ ],
198
+ "sortDesc": [
199
+ -1
200
+ ]
201
+ };
202
+
203
+ var events = deepFreeze(data);
204
+
205
+ module.exports = events;
@@ -198,4 +198,6 @@ const data = {
198
198
  ]
199
199
  };
200
200
 
201
- export default deepFreeze(data);
201
+ var events = deepFreeze(data);
202
+
203
+ export { events as default };
@@ -0,0 +1,168 @@
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
+ "items": [
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {},
24
+ {},
25
+ {},
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {},
36
+ {},
37
+ {}
38
+ ],
39
+ "itemsPerPage": 20,
40
+ "itemsPerPageArray": [
41
+ 20,
42
+ 40,
43
+ 60,
44
+ 80,
45
+ 100
46
+ ],
47
+ "filtersCount": 0,
48
+ "views": {
49
+ "rows": {
50
+ "name": "rows",
51
+ "icon": "view-list",
52
+ "perPage": {
53
+ "options": [
54
+ 9,
55
+ 12,
56
+ 16
57
+ ],
58
+ "default": 9
59
+ }
60
+ },
61
+ "dense": {
62
+ "default": true,
63
+ "name": "dense",
64
+ "icon": "land-rows-horizontal",
65
+ "perPage": {
66
+ "options": [
67
+ 20,
68
+ 40,
69
+ 60,
70
+ 80,
71
+ 100
72
+ ],
73
+ "default": 20
74
+ }
75
+ }
76
+ },
77
+ "sort": {
78
+ "nameasc": {
79
+ "icon": "sort-alphabetical-ascending",
80
+ "text": "by-name-from-a-to-z",
81
+ "value": [
82
+ "name",
83
+ 1
84
+ ]
85
+ },
86
+ "namedesc": {
87
+ "icon": "sort-alphabetical-descending",
88
+ "text": "by-name-from-z-to-a",
89
+ "value": [
90
+ "name",
91
+ -1
92
+ ]
93
+ },
94
+ "dateasc": {
95
+ "icon": "sort-calendar-descending",
96
+ "text": "by-date-most-recent-first",
97
+ "value": [
98
+ "applicationStart",
99
+ -1
100
+ ],
101
+ "default": true
102
+ },
103
+ "datedesc": {
104
+ "icon": "sort-calendar-ascending",
105
+ "text": "by-date-oldest-first",
106
+ "value": [
107
+ "applicationStart",
108
+ 1
109
+ ]
110
+ }
111
+ },
112
+ "view": {
113
+ "default": true,
114
+ "name": "dense",
115
+ "icon": "land-rows-horizontal",
116
+ "perPage": {
117
+ "options": [
118
+ 20,
119
+ 40,
120
+ 60,
121
+ 80,
122
+ 100
123
+ ],
124
+ "default": 20
125
+ }
126
+ },
127
+ "filters": {
128
+ "status": {
129
+ "type": "Select",
130
+ "multiple": true,
131
+ "items": {
132
+ "Planned": "PLANNED",
133
+ "Ongoing": "ONGOING",
134
+ "Finished": "FINISHED",
135
+ "Cancelled": "CANCELLED"
136
+ }
137
+ },
138
+ "fellowshipType": {
139
+ "type": "Select",
140
+ "multiple": true,
141
+ "items": {
142
+ "ShortStay": "SHORT_STAY",
143
+ "LongStay": "LONG_STAY",
144
+ "InGroup": "IN_GROUP"
145
+ }
146
+ },
147
+ "affiliation": {
148
+ "type": "Select",
149
+ "multiple": true,
150
+ "items": []
151
+ },
152
+ "disciplines": {
153
+ "type": "Select",
154
+ "multiple": true
155
+ }
156
+ },
157
+ "limit": 20,
158
+ "sortBy": [
159
+ "applicationStart"
160
+ ],
161
+ "sortDesc": [
162
+ -1
163
+ ]
164
+ };
165
+
166
+ var fellowships = deepFreeze(data);
167
+
168
+ module.exports = fellowships;
@@ -161,4 +161,6 @@ const data = {
161
161
  ]
162
162
  };
163
163
 
164
- export default deepFreeze(data);
164
+ var fellowships = deepFreeze(data);
165
+
166
+ export { fellowships as default };
@@ -0,0 +1,151 @@
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
+ "items": [
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {},
24
+ {},
25
+ {},
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {},
36
+ {},
37
+ {}
38
+ ],
39
+ "itemsPerPage": 20,
40
+ "itemsPerPageArray": [
41
+ 20,
42
+ 40,
43
+ 60,
44
+ 80,
45
+ 100
46
+ ],
47
+ "filtersCount": 0,
48
+ "views": {
49
+ "rows": {
50
+ "name": "rows",
51
+ "icon": "view-list",
52
+ "perPage": {
53
+ "options": [
54
+ 9,
55
+ 12,
56
+ 16
57
+ ],
58
+ "default": 9
59
+ }
60
+ },
61
+ "dense": {
62
+ "default": true,
63
+ "name": "dense",
64
+ "icon": "land-rows-horizontal",
65
+ "perPage": {
66
+ "options": [
67
+ 20,
68
+ 40,
69
+ 60,
70
+ 80,
71
+ 100
72
+ ],
73
+ "default": 20
74
+ }
75
+ },
76
+ "tiles": {
77
+ "name": "tiles",
78
+ "icon": "view-quilt"
79
+ },
80
+ "grid": {
81
+ "name": "grid",
82
+ "icon": "view-day"
83
+ }
84
+ },
85
+ "sort": {
86
+ "nameasc": {
87
+ "icon": "sort-alphabetical-ascending",
88
+ "text": "by-name-from-a-to-z",
89
+ "value": [
90
+ "article_title",
91
+ 1
92
+ ]
93
+ },
94
+ "namedesc": {
95
+ "icon": "sort-alphabetical-descending",
96
+ "text": "by-name-from-z-to-a",
97
+ "value": [
98
+ "article_title",
99
+ -1
100
+ ]
101
+ },
102
+ "dateasc": {
103
+ "icon": "sort-calendar-descending",
104
+ "text": "by-date-most-recent-first",
105
+ "value": [
106
+ "date",
107
+ -1
108
+ ],
109
+ "default": true
110
+ },
111
+ "datedesc": {
112
+ "icon": "sort-calendar-ascending",
113
+ "text": "by-date-oldest-first",
114
+ "value": [
115
+ "date",
116
+ 1
117
+ ]
118
+ }
119
+ },
120
+ "view": {
121
+ "default": true,
122
+ "name": "dense",
123
+ "icon": "land-rows-horizontal",
124
+ "perPage": {
125
+ "options": [
126
+ 20,
127
+ 40,
128
+ 60,
129
+ 80,
130
+ 100
131
+ ],
132
+ "default": 20
133
+ }
134
+ },
135
+ "filters": {
136
+ "year": {
137
+ "type": "Select"
138
+ }
139
+ },
140
+ "limit": 20,
141
+ "sortBy": [
142
+ "date"
143
+ ],
144
+ "sortDesc": [
145
+ -1
146
+ ]
147
+ };
148
+
149
+ var files = deepFreeze(data);
150
+
151
+ module.exports = files;
@@ -144,4 +144,6 @@ const data = {
144
144
  ]
145
145
  };
146
146
 
147
- export default deepFreeze(data);
147
+ var files = deepFreeze(data);
148
+
149
+ export { files as default };
@@ -0,0 +1,151 @@
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
+ "items": [
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {},
24
+ {},
25
+ {},
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {},
36
+ {},
37
+ {}
38
+ ],
39
+ "itemsPerPage": 20,
40
+ "itemsPerPageArray": [
41
+ 20,
42
+ 40,
43
+ 60,
44
+ 80,
45
+ 100
46
+ ],
47
+ "filtersCount": 0,
48
+ "views": {
49
+ "rows": {
50
+ "name": "rows",
51
+ "icon": "view-list",
52
+ "perPage": {
53
+ "options": [
54
+ 9,
55
+ 12,
56
+ 16
57
+ ],
58
+ "default": 9
59
+ }
60
+ },
61
+ "dense": {
62
+ "default": true,
63
+ "name": "dense",
64
+ "icon": "land-rows-horizontal",
65
+ "perPage": {
66
+ "options": [
67
+ 20,
68
+ 40,
69
+ 60,
70
+ 80,
71
+ 100
72
+ ],
73
+ "default": 20
74
+ }
75
+ },
76
+ "tiles": {
77
+ "name": "tiles",
78
+ "icon": "view-quilt"
79
+ },
80
+ "grid": {
81
+ "name": "grid",
82
+ "icon": "view-day"
83
+ }
84
+ },
85
+ "sort": {
86
+ "nameasc": {
87
+ "icon": "sort-alphabetical-ascending",
88
+ "text": "by-name-from-a-to-z",
89
+ "value": [
90
+ "article_title",
91
+ 1
92
+ ]
93
+ },
94
+ "namedesc": {
95
+ "icon": "sort-alphabetical-descending",
96
+ "text": "by-name-from-z-to-a",
97
+ "value": [
98
+ "article_title",
99
+ -1
100
+ ]
101
+ },
102
+ "dateasc": {
103
+ "icon": "sort-calendar-descending",
104
+ "text": "by-date-most-recent-first",
105
+ "value": [
106
+ "date",
107
+ -1
108
+ ],
109
+ "default": true
110
+ },
111
+ "datedesc": {
112
+ "icon": "sort-calendar-ascending",
113
+ "text": "by-date-oldest-first",
114
+ "value": [
115
+ "date",
116
+ 1
117
+ ]
118
+ }
119
+ },
120
+ "view": {
121
+ "default": true,
122
+ "name": "dense",
123
+ "icon": "land-rows-horizontal",
124
+ "perPage": {
125
+ "options": [
126
+ 20,
127
+ 40,
128
+ 60,
129
+ 80,
130
+ 100
131
+ ],
132
+ "default": 20
133
+ }
134
+ },
135
+ "filters": {
136
+ "year": {
137
+ "type": "Select"
138
+ }
139
+ },
140
+ "limit": 20,
141
+ "sortBy": [
142
+ "date"
143
+ ],
144
+ "sortDesc": [
145
+ -1
146
+ ]
147
+ };
148
+
149
+ var mailing = deepFreeze(data);
150
+
151
+ module.exports = mailing;
@@ -144,4 +144,6 @@ const data = {
144
144
  ]
145
145
  };
146
146
 
147
- export default deepFreeze(data);
147
+ var mailing = deepFreeze(data);
148
+
149
+ export { mailing as default };