@paris-ias/trees 2.0.1 → 2.0.2
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.
- package/dist/form/actions.d.ts +1 -129
- package/dist/form/actions.js +17 -2
- package/dist/form/affiliations.d.ts +1 -292
- package/dist/form/affiliations.js +17 -2
- package/dist/form/apps.d.ts +1 -209
- package/dist/form/apps.js +17 -2
- package/dist/form/disciplines.d.ts +1 -40
- package/dist/form/disciplines.js +17 -2
- package/dist/form/events.d.ts +1 -1397
- package/dist/form/events.js +17 -2
- package/dist/form/fellowships.d.ts +1 -2122
- package/dist/form/fellowships.js +17 -2
- package/dist/form/files.d.ts +1 -40
- package/dist/form/files.js +17 -2
- package/dist/form/mailing.d.ts +1 -62
- package/dist/form/mailing.js +17 -2
- package/dist/form/news.d.ts +1 -405
- package/dist/form/news.js +17 -2
- package/dist/form/people.d.ts +1 -1062
- package/dist/form/people.js +17 -2
- package/dist/form/projects.d.ts +1 -564
- package/dist/form/projects.js +17 -2
- package/dist/form/publications.d.ts +1 -615
- package/dist/form/publications.js +17 -2
- package/dist/form/tags.d.ts +1 -54
- package/dist/form/tags.js +17 -2
- package/dist/form/users.d.ts +1 -946
- package/dist/form/users.js +17 -2
- package/dist/list/actions.d.ts +1 -103
- package/dist/list/actions.js +17 -2
- package/dist/list/affiliations.d.ts +1 -103
- package/dist/list/affiliations.js +17 -2
- package/dist/list/apps.d.ts +1 -103
- package/dist/list/apps.js +17 -2
- package/dist/list/disciplines.d.ts +1 -101
- package/dist/list/disciplines.js +17 -2
- package/dist/list/events.d.ts +1 -172
- package/dist/list/events.js +17 -2
- package/dist/list/fellowships.d.ts +1 -123
- package/dist/list/fellowships.js +17 -2
- package/dist/list/files.d.ts +1 -101
- package/dist/list/files.js +17 -2
- package/dist/list/mailing.d.ts +1 -101
- package/dist/list/mailing.js +17 -2
- package/dist/list/news.d.ts +1 -103
- package/dist/list/news.js +17 -2
- package/dist/list/people.d.ts +1 -153
- package/dist/list/people.js +17 -2
- package/dist/list/projects.d.ts +1 -103
- package/dist/list/projects.js +17 -2
- package/dist/list/publications.d.ts +1 -127
- package/dist/list/publications.js +17 -2
- package/dist/list/tags.d.ts +1 -103
- package/dist/list/tags.js +17 -2
- package/dist/list/users.d.ts +1 -153
- package/dist/list/users.js +17 -2
- package/package.json +1 -1
- package/readme.md +94 -17
package/dist/form/people.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"firstname": "",
|
|
4
17
|
"lastname": "",
|
|
@@ -655,4 +668,6 @@ export default {
|
|
|
655
668
|
}
|
|
656
669
|
}
|
|
657
670
|
}
|
|
658
|
-
}
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
export default deepFreeze(data);
|
package/dist/form/projects.d.ts
CHANGED
|
@@ -1,565 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
namespace _defaults {
|
|
3
|
-
namespace name {
|
|
4
|
-
let en: string;
|
|
5
|
-
let fr: string;
|
|
6
|
-
}
|
|
7
|
-
namespace subtitle {
|
|
8
|
-
let en_1: string;
|
|
9
|
-
export { en_1 as en };
|
|
10
|
-
let fr_1: string;
|
|
11
|
-
export { fr_1 as fr };
|
|
12
|
-
}
|
|
13
|
-
namespace description {
|
|
14
|
-
let en_2: string;
|
|
15
|
-
export { en_2 as en };
|
|
16
|
-
let fr_2: string;
|
|
17
|
-
export { fr_2 as fr };
|
|
18
|
-
}
|
|
19
|
-
namespace summary {
|
|
20
|
-
let en_3: string;
|
|
21
|
-
export { en_3 as en };
|
|
22
|
-
let fr_3: string;
|
|
23
|
-
export { fr_3 as fr };
|
|
24
|
-
}
|
|
25
|
-
let url: string;
|
|
26
|
-
let status: string;
|
|
27
|
-
let affiliations: string;
|
|
28
|
-
namespace related {
|
|
29
|
-
let events: string;
|
|
30
|
-
let news: string;
|
|
31
|
-
let people: string;
|
|
32
|
-
let publications: string;
|
|
33
|
-
let projects: string;
|
|
34
|
-
let fellowships: string;
|
|
35
|
-
}
|
|
36
|
-
let image: string;
|
|
37
|
-
let gallery: string;
|
|
38
|
-
namespace video {
|
|
39
|
-
let url_1: string;
|
|
40
|
-
export { url_1 as url };
|
|
41
|
-
export namespace caption {
|
|
42
|
-
let en_4: string;
|
|
43
|
-
export { en_4 as en };
|
|
44
|
-
let fr_4: string;
|
|
45
|
-
export { fr_4 as fr };
|
|
46
|
-
}
|
|
47
|
-
export namespace alt {
|
|
48
|
-
let en_5: string;
|
|
49
|
-
export { en_5 as en };
|
|
50
|
-
let fr_5: string;
|
|
51
|
-
export { fr_5 as fr };
|
|
52
|
-
}
|
|
53
|
-
export let copyright: string;
|
|
54
|
-
export let licence: string;
|
|
55
|
-
export let licenseUrl: string;
|
|
56
|
-
export let backgroundColor: string;
|
|
57
|
-
}
|
|
58
|
-
let tags: string;
|
|
59
|
-
let files: string;
|
|
60
|
-
let color: string;
|
|
61
|
-
let date: string;
|
|
62
|
-
let featured: string;
|
|
63
|
-
}
|
|
64
|
-
namespace schema {
|
|
65
|
-
export namespace name_1 {
|
|
66
|
-
let label: string;
|
|
67
|
-
let component: string;
|
|
68
|
-
let type: string;
|
|
69
|
-
let i18n: boolean;
|
|
70
|
-
namespace rules {
|
|
71
|
-
let required: boolean;
|
|
72
|
-
let min: number;
|
|
73
|
-
let max: number;
|
|
74
|
-
}
|
|
75
|
-
let meta: string;
|
|
76
|
-
}
|
|
77
|
-
export { name_1 as name };
|
|
78
|
-
export namespace subtitle_1 {
|
|
79
|
-
let label_1: string;
|
|
80
|
-
export { label_1 as label };
|
|
81
|
-
let component_1: string;
|
|
82
|
-
export { component_1 as component };
|
|
83
|
-
let type_1: string;
|
|
84
|
-
export { type_1 as type };
|
|
85
|
-
let i18n_1: boolean;
|
|
86
|
-
export { i18n_1 as i18n };
|
|
87
|
-
export namespace rules_1 {
|
|
88
|
-
let required_1: boolean;
|
|
89
|
-
export { required_1 as required };
|
|
90
|
-
let min_1: number;
|
|
91
|
-
export { min_1 as min };
|
|
92
|
-
let max_1: number;
|
|
93
|
-
export { max_1 as max };
|
|
94
|
-
}
|
|
95
|
-
export { rules_1 as rules };
|
|
96
|
-
let meta_1: string;
|
|
97
|
-
export { meta_1 as meta };
|
|
98
|
-
}
|
|
99
|
-
export { subtitle_1 as subtitle };
|
|
100
|
-
export namespace description_1 {
|
|
101
|
-
let label_2: string;
|
|
102
|
-
export { label_2 as label };
|
|
103
|
-
let component_2: string;
|
|
104
|
-
export { component_2 as component };
|
|
105
|
-
let type_2: string;
|
|
106
|
-
export { type_2 as type };
|
|
107
|
-
let i18n_2: boolean;
|
|
108
|
-
export { i18n_2 as i18n };
|
|
109
|
-
export namespace rules_2 {
|
|
110
|
-
let required_2: boolean;
|
|
111
|
-
export { required_2 as required };
|
|
112
|
-
let min_2: number;
|
|
113
|
-
export { min_2 as min };
|
|
114
|
-
let max_2: number;
|
|
115
|
-
export { max_2 as max };
|
|
116
|
-
}
|
|
117
|
-
export { rules_2 as rules };
|
|
118
|
-
let meta_2: string;
|
|
119
|
-
export { meta_2 as meta };
|
|
120
|
-
}
|
|
121
|
-
export { description_1 as description };
|
|
122
|
-
export namespace summary_1 {
|
|
123
|
-
let label_3: string;
|
|
124
|
-
export { label_3 as label };
|
|
125
|
-
let component_3: string;
|
|
126
|
-
export { component_3 as component };
|
|
127
|
-
let type_3: string;
|
|
128
|
-
export { type_3 as type };
|
|
129
|
-
let i18n_3: boolean;
|
|
130
|
-
export { i18n_3 as i18n };
|
|
131
|
-
export namespace rules_3 {
|
|
132
|
-
let min_3: number;
|
|
133
|
-
export { min_3 as min };
|
|
134
|
-
let max_3: number;
|
|
135
|
-
export { max_3 as max };
|
|
136
|
-
}
|
|
137
|
-
export { rules_3 as rules };
|
|
138
|
-
let meta_3: string;
|
|
139
|
-
export { meta_3 as meta };
|
|
140
|
-
}
|
|
141
|
-
export { summary_1 as summary };
|
|
142
|
-
export namespace url_2 {
|
|
143
|
-
let label_4: string;
|
|
144
|
-
export { label_4 as label };
|
|
145
|
-
let component_4: string;
|
|
146
|
-
export { component_4 as component };
|
|
147
|
-
let type_4: string;
|
|
148
|
-
export { type_4 as type };
|
|
149
|
-
export namespace rules_4 {
|
|
150
|
-
let url_3: boolean;
|
|
151
|
-
export { url_3 as url };
|
|
152
|
-
}
|
|
153
|
-
export { rules_4 as rules };
|
|
154
|
-
let meta_4: string;
|
|
155
|
-
export { meta_4 as meta };
|
|
156
|
-
}
|
|
157
|
-
export { url_2 as url };
|
|
158
|
-
export namespace status_1 {
|
|
159
|
-
let label_5: string;
|
|
160
|
-
export { label_5 as label };
|
|
161
|
-
let component_5: string;
|
|
162
|
-
export { component_5 as component };
|
|
163
|
-
let type_5: string;
|
|
164
|
-
export { type_5 as type };
|
|
165
|
-
export namespace rules_5 {
|
|
166
|
-
let required_3: boolean;
|
|
167
|
-
export { required_3 as required };
|
|
168
|
-
}
|
|
169
|
-
export { rules_5 as rules };
|
|
170
|
-
export namespace items {
|
|
171
|
-
let Planned: string;
|
|
172
|
-
let InProgress: string;
|
|
173
|
-
let Finished: string;
|
|
174
|
-
let Canceled: string;
|
|
175
|
-
}
|
|
176
|
-
let meta_5: string;
|
|
177
|
-
export { meta_5 as meta };
|
|
178
|
-
}
|
|
179
|
-
export { status_1 as status };
|
|
180
|
-
export namespace affiliations_1 {
|
|
181
|
-
let label_6: string;
|
|
182
|
-
export { label_6 as label };
|
|
183
|
-
let component_6: string;
|
|
184
|
-
export { component_6 as component };
|
|
185
|
-
let type_6: string;
|
|
186
|
-
export { type_6 as type };
|
|
187
|
-
let meta_6: string;
|
|
188
|
-
export { meta_6 as meta };
|
|
189
|
-
let _default: string;
|
|
190
|
-
export { _default as default };
|
|
191
|
-
}
|
|
192
|
-
export { affiliations_1 as affiliations };
|
|
193
|
-
export namespace related_1 {
|
|
194
|
-
let label_7: string;
|
|
195
|
-
export { label_7 as label };
|
|
196
|
-
let component_7: string;
|
|
197
|
-
export { component_7 as component };
|
|
198
|
-
let type_7: string;
|
|
199
|
-
export { type_7 as type };
|
|
200
|
-
let meta_7: string;
|
|
201
|
-
export { meta_7 as meta };
|
|
202
|
-
export namespace items_1 {
|
|
203
|
-
export namespace events_1 {
|
|
204
|
-
let label_8: string;
|
|
205
|
-
export { label_8 as label };
|
|
206
|
-
let component_8: string;
|
|
207
|
-
export { component_8 as component };
|
|
208
|
-
let type_8: string;
|
|
209
|
-
export { type_8 as type };
|
|
210
|
-
let meta_8: string;
|
|
211
|
-
export { meta_8 as meta };
|
|
212
|
-
let _default_1: string;
|
|
213
|
-
export { _default_1 as default };
|
|
214
|
-
}
|
|
215
|
-
export { events_1 as events };
|
|
216
|
-
export namespace news_1 {
|
|
217
|
-
let label_9: string;
|
|
218
|
-
export { label_9 as label };
|
|
219
|
-
let component_9: string;
|
|
220
|
-
export { component_9 as component };
|
|
221
|
-
let type_9: string;
|
|
222
|
-
export { type_9 as type };
|
|
223
|
-
let meta_9: string;
|
|
224
|
-
export { meta_9 as meta };
|
|
225
|
-
let _default_2: string;
|
|
226
|
-
export { _default_2 as default };
|
|
227
|
-
}
|
|
228
|
-
export { news_1 as news };
|
|
229
|
-
export namespace people_1 {
|
|
230
|
-
let label_10: string;
|
|
231
|
-
export { label_10 as label };
|
|
232
|
-
let component_10: string;
|
|
233
|
-
export { component_10 as component };
|
|
234
|
-
let type_10: string;
|
|
235
|
-
export { type_10 as type };
|
|
236
|
-
let meta_10: string;
|
|
237
|
-
export { meta_10 as meta };
|
|
238
|
-
let _default_3: string;
|
|
239
|
-
export { _default_3 as default };
|
|
240
|
-
}
|
|
241
|
-
export { people_1 as people };
|
|
242
|
-
export namespace publications_1 {
|
|
243
|
-
let label_11: string;
|
|
244
|
-
export { label_11 as label };
|
|
245
|
-
let component_11: string;
|
|
246
|
-
export { component_11 as component };
|
|
247
|
-
let type_11: string;
|
|
248
|
-
export { type_11 as type };
|
|
249
|
-
let meta_11: string;
|
|
250
|
-
export { meta_11 as meta };
|
|
251
|
-
let _default_4: string;
|
|
252
|
-
export { _default_4 as default };
|
|
253
|
-
}
|
|
254
|
-
export { publications_1 as publications };
|
|
255
|
-
export namespace projects_1 {
|
|
256
|
-
let label_12: string;
|
|
257
|
-
export { label_12 as label };
|
|
258
|
-
let component_12: string;
|
|
259
|
-
export { component_12 as component };
|
|
260
|
-
let type_12: string;
|
|
261
|
-
export { type_12 as type };
|
|
262
|
-
let meta_12: string;
|
|
263
|
-
export { meta_12 as meta };
|
|
264
|
-
let _default_5: string;
|
|
265
|
-
export { _default_5 as default };
|
|
266
|
-
}
|
|
267
|
-
export { projects_1 as projects };
|
|
268
|
-
export namespace fellowships_1 {
|
|
269
|
-
let label_13: string;
|
|
270
|
-
export { label_13 as label };
|
|
271
|
-
let component_13: string;
|
|
272
|
-
export { component_13 as component };
|
|
273
|
-
let type_13: string;
|
|
274
|
-
export { type_13 as type };
|
|
275
|
-
let meta_13: string;
|
|
276
|
-
export { meta_13 as meta };
|
|
277
|
-
let _default_6: string;
|
|
278
|
-
export { _default_6 as default };
|
|
279
|
-
}
|
|
280
|
-
export { fellowships_1 as fellowships };
|
|
281
|
-
}
|
|
282
|
-
export { items_1 as items };
|
|
283
|
-
}
|
|
284
|
-
export { related_1 as related };
|
|
285
|
-
export namespace image_1 {
|
|
286
|
-
let label_14: string;
|
|
287
|
-
export { label_14 as label };
|
|
288
|
-
let component_14: string;
|
|
289
|
-
export { component_14 as component };
|
|
290
|
-
let type_14: string;
|
|
291
|
-
export { type_14 as type };
|
|
292
|
-
export namespace rules_6 {
|
|
293
|
-
let required_4: boolean;
|
|
294
|
-
export { required_4 as required };
|
|
295
|
-
}
|
|
296
|
-
export { rules_6 as rules };
|
|
297
|
-
let meta_14: string;
|
|
298
|
-
export { meta_14 as meta };
|
|
299
|
-
let _default_7: string;
|
|
300
|
-
export { _default_7 as default };
|
|
301
|
-
}
|
|
302
|
-
export { image_1 as image };
|
|
303
|
-
export namespace gallery_1 {
|
|
304
|
-
let label_15: string;
|
|
305
|
-
export { label_15 as label };
|
|
306
|
-
let component_15: string;
|
|
307
|
-
export { component_15 as component };
|
|
308
|
-
let type_15: string;
|
|
309
|
-
export { type_15 as type };
|
|
310
|
-
export let multiple: boolean;
|
|
311
|
-
let meta_15: string;
|
|
312
|
-
export { meta_15 as meta };
|
|
313
|
-
let _default_8: string;
|
|
314
|
-
export { _default_8 as default };
|
|
315
|
-
}
|
|
316
|
-
export { gallery_1 as gallery };
|
|
317
|
-
export namespace video_1 {
|
|
318
|
-
let label_16: string;
|
|
319
|
-
export { label_16 as label };
|
|
320
|
-
let component_16: string;
|
|
321
|
-
export { component_16 as component };
|
|
322
|
-
let type_16: string;
|
|
323
|
-
export { type_16 as type };
|
|
324
|
-
let meta_16: string;
|
|
325
|
-
export { meta_16 as meta };
|
|
326
|
-
export namespace items_2 {
|
|
327
|
-
export namespace url_4 {
|
|
328
|
-
let type_17: string;
|
|
329
|
-
export { type_17 as type };
|
|
330
|
-
let component_17: string;
|
|
331
|
-
export { component_17 as component };
|
|
332
|
-
let label_17: string;
|
|
333
|
-
export { label_17 as label };
|
|
334
|
-
let description_2: string;
|
|
335
|
-
export { description_2 as description };
|
|
336
|
-
export namespace rules_7 {
|
|
337
|
-
let required_5: boolean;
|
|
338
|
-
export { required_5 as required };
|
|
339
|
-
let url_5: boolean;
|
|
340
|
-
export { url_5 as url };
|
|
341
|
-
let max_4: number;
|
|
342
|
-
export { max_4 as max };
|
|
343
|
-
}
|
|
344
|
-
export { rules_7 as rules };
|
|
345
|
-
let meta_17: string;
|
|
346
|
-
export { meta_17 as meta };
|
|
347
|
-
}
|
|
348
|
-
export { url_4 as url };
|
|
349
|
-
export namespace caption_1 {
|
|
350
|
-
let label_18: string;
|
|
351
|
-
export { label_18 as label };
|
|
352
|
-
let type_18: string;
|
|
353
|
-
export { type_18 as type };
|
|
354
|
-
let component_18: string;
|
|
355
|
-
export { component_18 as component };
|
|
356
|
-
let i18n_4: boolean;
|
|
357
|
-
export { i18n_4 as i18n };
|
|
358
|
-
export namespace rules_8 {
|
|
359
|
-
let required_6: boolean;
|
|
360
|
-
export { required_6 as required };
|
|
361
|
-
let min_4: number;
|
|
362
|
-
export { min_4 as min };
|
|
363
|
-
let max_5: number;
|
|
364
|
-
export { max_5 as max };
|
|
365
|
-
}
|
|
366
|
-
export { rules_8 as rules };
|
|
367
|
-
let meta_18: string;
|
|
368
|
-
export { meta_18 as meta };
|
|
369
|
-
}
|
|
370
|
-
export { caption_1 as caption };
|
|
371
|
-
export namespace alt_1 {
|
|
372
|
-
let label_19: string;
|
|
373
|
-
export { label_19 as label };
|
|
374
|
-
let type_19: string;
|
|
375
|
-
export { type_19 as type };
|
|
376
|
-
let i18n_5: boolean;
|
|
377
|
-
export { i18n_5 as i18n };
|
|
378
|
-
let component_19: string;
|
|
379
|
-
export { component_19 as component };
|
|
380
|
-
let description_3: string;
|
|
381
|
-
export { description_3 as description };
|
|
382
|
-
export namespace rules_9 {
|
|
383
|
-
let max_6: number;
|
|
384
|
-
export { max_6 as max };
|
|
385
|
-
}
|
|
386
|
-
export { rules_9 as rules };
|
|
387
|
-
let meta_19: string;
|
|
388
|
-
export { meta_19 as meta };
|
|
389
|
-
}
|
|
390
|
-
export { alt_1 as alt };
|
|
391
|
-
export namespace copyright_1 {
|
|
392
|
-
let label_20: string;
|
|
393
|
-
export { label_20 as label };
|
|
394
|
-
let type_20: string;
|
|
395
|
-
export { type_20 as type };
|
|
396
|
-
let component_20: string;
|
|
397
|
-
export { component_20 as component };
|
|
398
|
-
let _default_9: string;
|
|
399
|
-
export { _default_9 as default };
|
|
400
|
-
let description_4: string;
|
|
401
|
-
export { description_4 as description };
|
|
402
|
-
let meta_20: string;
|
|
403
|
-
export { meta_20 as meta };
|
|
404
|
-
}
|
|
405
|
-
export { copyright_1 as copyright };
|
|
406
|
-
export namespace licence_1 {
|
|
407
|
-
let label_21: string;
|
|
408
|
-
export { label_21 as label };
|
|
409
|
-
let type_21: string;
|
|
410
|
-
export { type_21 as type };
|
|
411
|
-
let component_21: string;
|
|
412
|
-
export { component_21 as component };
|
|
413
|
-
let _default_10: any;
|
|
414
|
-
export { _default_10 as default };
|
|
415
|
-
let description_5: string;
|
|
416
|
-
export { description_5 as description };
|
|
417
|
-
let meta_21: string;
|
|
418
|
-
export { meta_21 as meta };
|
|
419
|
-
}
|
|
420
|
-
export { licence_1 as licence };
|
|
421
|
-
export namespace licenseUrl_1 {
|
|
422
|
-
let label_22: string;
|
|
423
|
-
export { label_22 as label };
|
|
424
|
-
let type_22: string;
|
|
425
|
-
export { type_22 as type };
|
|
426
|
-
let component_22: string;
|
|
427
|
-
export { component_22 as component };
|
|
428
|
-
let _default_11: any;
|
|
429
|
-
export { _default_11 as default };
|
|
430
|
-
let description_6: string;
|
|
431
|
-
export { description_6 as description };
|
|
432
|
-
export namespace rules_10 {
|
|
433
|
-
let url_6: boolean;
|
|
434
|
-
export { url_6 as url };
|
|
435
|
-
}
|
|
436
|
-
export { rules_10 as rules };
|
|
437
|
-
export namespace show {
|
|
438
|
-
let _default_12: boolean;
|
|
439
|
-
export { _default_12 as default };
|
|
440
|
-
export let switchIf: any[];
|
|
441
|
-
export let disjonctive: boolean;
|
|
442
|
-
}
|
|
443
|
-
let meta_22: string;
|
|
444
|
-
export { meta_22 as meta };
|
|
445
|
-
}
|
|
446
|
-
export { licenseUrl_1 as licenseUrl };
|
|
447
|
-
export namespace backgroundColor_1 {
|
|
448
|
-
let label_23: string;
|
|
449
|
-
export { label_23 as label };
|
|
450
|
-
let type_23: string;
|
|
451
|
-
export { type_23 as type };
|
|
452
|
-
let component_23: string;
|
|
453
|
-
export { component_23 as component };
|
|
454
|
-
let _default_13: any;
|
|
455
|
-
export { _default_13 as default };
|
|
456
|
-
export namespace rules_11 {
|
|
457
|
-
let color_1: boolean;
|
|
458
|
-
export { color_1 as color };
|
|
459
|
-
}
|
|
460
|
-
export { rules_11 as rules };
|
|
461
|
-
export namespace show_1 {
|
|
462
|
-
let _default_14: boolean;
|
|
463
|
-
export { _default_14 as default };
|
|
464
|
-
let switchIf_1: any[];
|
|
465
|
-
export { switchIf_1 as switchIf };
|
|
466
|
-
let disjonctive_1: boolean;
|
|
467
|
-
export { disjonctive_1 as disjonctive };
|
|
468
|
-
}
|
|
469
|
-
export { show_1 as show };
|
|
470
|
-
let meta_23: string;
|
|
471
|
-
export { meta_23 as meta };
|
|
472
|
-
}
|
|
473
|
-
export { backgroundColor_1 as backgroundColor };
|
|
474
|
-
}
|
|
475
|
-
export { items_2 as items };
|
|
476
|
-
}
|
|
477
|
-
export { video_1 as video };
|
|
478
|
-
export namespace tags_1 {
|
|
479
|
-
let label_24: string;
|
|
480
|
-
export { label_24 as label };
|
|
481
|
-
let component_24: string;
|
|
482
|
-
export { component_24 as component };
|
|
483
|
-
let type_24: string;
|
|
484
|
-
export { type_24 as type };
|
|
485
|
-
export namespace rules_12 {
|
|
486
|
-
let required_7: boolean;
|
|
487
|
-
export { required_7 as required };
|
|
488
|
-
}
|
|
489
|
-
export { rules_12 as rules };
|
|
490
|
-
let meta_24: string;
|
|
491
|
-
export { meta_24 as meta };
|
|
492
|
-
let _default_15: string;
|
|
493
|
-
export { _default_15 as default };
|
|
494
|
-
}
|
|
495
|
-
export { tags_1 as tags };
|
|
496
|
-
export namespace files_1 {
|
|
497
|
-
let label_25: string;
|
|
498
|
-
export { label_25 as label };
|
|
499
|
-
let component_25: string;
|
|
500
|
-
export { component_25 as component };
|
|
501
|
-
let type_25: string;
|
|
502
|
-
export { type_25 as type };
|
|
503
|
-
let meta_25: string;
|
|
504
|
-
export { meta_25 as meta };
|
|
505
|
-
let _default_16: string;
|
|
506
|
-
export { _default_16 as default };
|
|
507
|
-
}
|
|
508
|
-
export { files_1 as files };
|
|
509
|
-
export namespace color_2 {
|
|
510
|
-
let label_26: string;
|
|
511
|
-
export { label_26 as label };
|
|
512
|
-
let component_26: string;
|
|
513
|
-
export { component_26 as component };
|
|
514
|
-
let type_26: string;
|
|
515
|
-
export { type_26 as type };
|
|
516
|
-
export namespace rules_13 {
|
|
517
|
-
let required_8: boolean;
|
|
518
|
-
export { required_8 as required };
|
|
519
|
-
let color_3: boolean;
|
|
520
|
-
export { color_3 as color };
|
|
521
|
-
}
|
|
522
|
-
export { rules_13 as rules };
|
|
523
|
-
let meta_26: string;
|
|
524
|
-
export { meta_26 as meta };
|
|
525
|
-
}
|
|
526
|
-
export { color_2 as color };
|
|
527
|
-
export namespace date_1 {
|
|
528
|
-
let label_27: string;
|
|
529
|
-
export { label_27 as label };
|
|
530
|
-
let component_27: string;
|
|
531
|
-
export { component_27 as component };
|
|
532
|
-
let type_27: string;
|
|
533
|
-
export { type_27 as type };
|
|
534
|
-
export namespace rules_14 {
|
|
535
|
-
let required_9: boolean;
|
|
536
|
-
export { required_9 as required };
|
|
537
|
-
let date_2: boolean;
|
|
538
|
-
export { date_2 as date };
|
|
539
|
-
}
|
|
540
|
-
export { rules_14 as rules };
|
|
541
|
-
let meta_27: string;
|
|
542
|
-
export { meta_27 as meta };
|
|
543
|
-
}
|
|
544
|
-
export { date_1 as date };
|
|
545
|
-
export namespace featured_1 {
|
|
546
|
-
let label_28: string;
|
|
547
|
-
export { label_28 as label };
|
|
548
|
-
let component_28: string;
|
|
549
|
-
export { component_28 as component };
|
|
550
|
-
let type_28: string;
|
|
551
|
-
export { type_28 as type };
|
|
552
|
-
export namespace rules_15 {
|
|
553
|
-
let required_10: boolean;
|
|
554
|
-
export { required_10 as required };
|
|
555
|
-
let date_3: boolean;
|
|
556
|
-
export { date_3 as date };
|
|
557
|
-
}
|
|
558
|
-
export { rules_15 as rules };
|
|
559
|
-
let meta_28: string;
|
|
560
|
-
export { meta_28 as meta };
|
|
561
|
-
}
|
|
562
|
-
export { featured_1 as featured };
|
|
563
|
-
}
|
|
564
|
-
}
|
|
1
|
+
declare const _default: any;
|
|
565
2
|
export default _default;
|
package/dist/form/projects.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"name": {
|
|
4
17
|
"en": "",
|
|
@@ -335,4 +348,6 @@ export default {
|
|
|
335
348
|
"meta": "featured"
|
|
336
349
|
}
|
|
337
350
|
}
|
|
338
|
-
}
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
export default deepFreeze(data);
|