@data-fair/app-calendar 1.2.11 → 1.2.12
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/assets/Calendar-BJdYEC1S.js +2 -0
- package/dist/assets/Calendar-Bfmdrheg.css +1 -0
- package/dist/assets/EventEdit-C-OEvdaI.css +6 -0
- package/dist/assets/EventEdit-CCx03lTX.js +150 -0
- package/dist/assets/{SnackBar-CBM_qob3.css → SnackBar-2HIga64a.css} +1 -1
- package/dist/assets/SnackBar-Cv5qEvU1.js +1 -0
- package/dist/assets/easymde-DZXHK6fM.js +95 -0
- package/dist/assets/forwardRefs-Cb9n9UB_.js +1 -0
- package/dist/assets/forwardRefs-ReZNfuDZ.css +1 -0
- package/dist/assets/index-DRr2cjCG.css +5 -0
- package/dist/assets/index-gXBW67iz.js +26 -0
- package/dist/config-schema.json +189 -157
- package/dist/index.html +5 -2
- package/package.json +5 -4
- package/dist/assets/Calendar-B26Icv01.js +0 -2
- package/dist/assets/Calendar-CAD3Yt5D.css +0 -1
- package/dist/assets/EventEdit-BLby_3Wl.css +0 -6
- package/dist/assets/EventEdit-CjDoNXEo.js +0 -195
- package/dist/assets/SnackBar-D3EcfyCG.js +0 -1
- package/dist/assets/easymde-DZOZqPNP.js +0 -49
- package/dist/assets/forwardRefs-CCJGC5XB.js +0 -1
- package/dist/assets/forwardRefs-DVmbJI0o.css +0 -1
- package/dist/assets/index-BnhOF8n8.css +0 -5
- package/dist/assets/index-DRlPnsoW.js +0 -26
package/dist/config-schema.json
CHANGED
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
"title": "Jeu de données",
|
|
13
13
|
"description": "Ce jeu doit contenir au moins un champ avec le concept de date",
|
|
14
14
|
"type": "object",
|
|
15
|
-
"x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=title,isRest,schema,timePeriod,attachmentsAsImage,userPermissions&{context.datasetFilter}&short-concept=date,startDate,endDate&size=100&sort=createdAt:-1",
|
|
16
|
-
"x-itemsProp": "results",
|
|
17
|
-
"x-itemTitle": "title",
|
|
18
|
-
"x-itemKey": "href",
|
|
19
15
|
"additionalProperties": false,
|
|
20
16
|
"properties": {
|
|
21
17
|
"href": { "type": "string" },
|
|
@@ -26,10 +22,19 @@
|
|
|
26
22
|
"timePeriod": { "type": "object" },
|
|
27
23
|
"attachmentsAsImage": { "type": "boolean" },
|
|
28
24
|
"userPermissions": { "type": "array" }
|
|
25
|
+
},
|
|
26
|
+
"layout": {
|
|
27
|
+
"getItems": {
|
|
28
|
+
"url": "api/v1/datasets?status=finalized&q={q}&select=title,isRest,schema,timePeriod,attachmentsAsImage,userPermissions&${context.datasetFilter}&short-concept=date,startDate,endDate&size=100&sort=createdAt:-1",
|
|
29
|
+
"itemKey": "data.href",
|
|
30
|
+
"itemTitle": "data.title",
|
|
31
|
+
"itemsResults": "data.results"
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
]
|
|
32
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"filters": { "$ref": "#/definitions/filters" }
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
40
|
{
|
|
@@ -40,9 +45,13 @@
|
|
|
40
45
|
"type": "object",
|
|
41
46
|
"title": "Champ de libellé",
|
|
42
47
|
"description": "Choisissez le champ représentant le libellé d'un événement.",
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
"layout": {
|
|
49
|
+
"getItems": {
|
|
50
|
+
"url": "${rootData.datasets[0].href}/schema?calculated=false",
|
|
51
|
+
"itemKey": "data.key",
|
|
52
|
+
"itemTitle": "data.label"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
46
55
|
},
|
|
47
56
|
"openOnCurrentDay": {
|
|
48
57
|
"type": "boolean",
|
|
@@ -53,45 +62,35 @@
|
|
|
53
62
|
"title": "Vue initiale",
|
|
54
63
|
"type": "string",
|
|
55
64
|
"oneOf": [
|
|
56
|
-
{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
{
|
|
61
|
-
"const": "timeGridWeek",
|
|
62
|
-
"title": "Semaine"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"const": "timeGridDay",
|
|
66
|
-
"title": "Jour"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"const": "listNextYear",
|
|
70
|
-
"title": "Planning"
|
|
71
|
-
}
|
|
65
|
+
{ "const": "dayGridMonth", "title": "Mois" },
|
|
66
|
+
{ "const": "timeGridWeek", "title": "Semaine" },
|
|
67
|
+
{ "const": "timeGridDay", "title": "Jour" },
|
|
68
|
+
{ "const": "listNextYear", "title": "Planning" }
|
|
72
69
|
],
|
|
73
70
|
"default": "dayGridMonth"
|
|
74
71
|
},
|
|
75
72
|
"color": {
|
|
76
73
|
"type": "object",
|
|
77
74
|
"title": "Réglage des couleurs",
|
|
78
|
-
"required": [
|
|
75
|
+
"required": [],
|
|
79
76
|
"oneOf": [
|
|
80
77
|
{
|
|
81
78
|
"title": "Calendrier multicolore",
|
|
82
79
|
"additionalProperties": false,
|
|
83
80
|
"required": ["field"],
|
|
84
81
|
"properties": {
|
|
85
|
-
"type": {
|
|
86
|
-
"const": "multicolor"
|
|
87
|
-
},
|
|
82
|
+
"type": { "const": "multicolor" },
|
|
88
83
|
"field": {
|
|
89
84
|
"type": "string",
|
|
90
85
|
"title": "Champ de catégorie",
|
|
91
86
|
"description": "Choisissez le champ permettant de distinguer les catégories d'événements suivant des couleurs distinctes.",
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
"layout": {
|
|
88
|
+
"getItems": {
|
|
89
|
+
"url": "${rootData.datasets[0].href}/schema?calculated=false&maxCardinality=12",
|
|
90
|
+
"itemKey": "data.key",
|
|
91
|
+
"itemTitle": "data[\"category\"]"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
95
94
|
},
|
|
96
95
|
"colors": {
|
|
97
96
|
"type": "object",
|
|
@@ -102,45 +101,19 @@
|
|
|
102
101
|
"required": ["type", "name"],
|
|
103
102
|
"additionalProperties": false,
|
|
104
103
|
"properties": {
|
|
105
|
-
"type": {
|
|
106
|
-
"const": "palette"
|
|
107
|
-
},
|
|
104
|
+
"type": { "const": "palette" },
|
|
108
105
|
"name": {
|
|
109
106
|
"title": "Palette",
|
|
110
107
|
"type": "string",
|
|
111
108
|
"oneOf": [
|
|
112
|
-
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
{
|
|
121
|
-
"const": "Paired",
|
|
122
|
-
"title": "Paires"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"const": "Set1",
|
|
126
|
-
"title": "Ensemble 1"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"const": "Set2",
|
|
130
|
-
"title": "Ensemble 2"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"const": "Set3",
|
|
134
|
-
"title": "Ensemble 3"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"const": "Pastel1",
|
|
138
|
-
"title": "Pastel 1"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"const": "Pastel2",
|
|
142
|
-
"title": "Pastel 2"
|
|
143
|
-
}
|
|
109
|
+
{ "const": "Accent", "title": "Accent" },
|
|
110
|
+
{ "const": "Dark2", "title": "Foncé" },
|
|
111
|
+
{ "const": "Paired", "title": "Paires" },
|
|
112
|
+
{ "const": "Set1", "title": "Ensemble 1" },
|
|
113
|
+
{ "const": "Set2", "title": "Ensemble 2" },
|
|
114
|
+
{ "const": "Set3", "title": "Ensemble 3" },
|
|
115
|
+
{ "const": "Pastel1", "title": "Pastel 1" },
|
|
116
|
+
{ "const": "Pastel2", "title": "Pastel 2" }
|
|
144
117
|
],
|
|
145
118
|
"default": "Accent"
|
|
146
119
|
},
|
|
@@ -156,34 +129,32 @@
|
|
|
156
129
|
"required": ["type", "categories"],
|
|
157
130
|
"additionalProperties": false,
|
|
158
131
|
"properties": {
|
|
159
|
-
"type": {
|
|
160
|
-
"const": "manual"
|
|
161
|
-
},
|
|
132
|
+
"type": { "const": "manual" },
|
|
162
133
|
"categories": {
|
|
163
134
|
"title": "Couleurs",
|
|
164
135
|
"type": "array",
|
|
165
|
-
"x-fromUrl": "{datasets.0.href}/values_agg?field={parent.parent.parent.value.field}&size=0&agg_size=15",
|
|
166
|
-
"x-display": "list",
|
|
167
|
-
"x-itemTitle": "value",
|
|
168
|
-
"x-itemKey": "value",
|
|
169
|
-
"x-itemsProp": "aggs",
|
|
170
136
|
"items": {
|
|
171
137
|
"type": "object",
|
|
172
138
|
"required": ["value"],
|
|
173
139
|
"additionalProperties": false,
|
|
174
140
|
"properties": {
|
|
175
|
-
"value": {
|
|
176
|
-
"type": "string",
|
|
177
|
-
"x-display": "hidden"
|
|
178
|
-
},
|
|
141
|
+
"value": { "type": "string", "layout": "none" },
|
|
179
142
|
"color": {
|
|
180
143
|
"type": "string",
|
|
181
144
|
"title": "Couleur",
|
|
182
|
-
"format": "hexcolor",
|
|
183
145
|
"default": "#828282",
|
|
184
|
-
"
|
|
146
|
+
"layout": "color-picker"
|
|
185
147
|
}
|
|
186
148
|
}
|
|
149
|
+
},
|
|
150
|
+
"layout": {
|
|
151
|
+
"comp": "list",
|
|
152
|
+
"getItems": {
|
|
153
|
+
"url": "${rootData.datasets[0].href}/values_agg?field=${parent.parent.parent.data.field}&size=0&agg_size=15",
|
|
154
|
+
"itemKey": "data.value",
|
|
155
|
+
"itemTitle": "data.value",
|
|
156
|
+
"itemsResults": "data.aggs"
|
|
157
|
+
}
|
|
187
158
|
}
|
|
188
159
|
}
|
|
189
160
|
}
|
|
@@ -201,33 +172,23 @@
|
|
|
201
172
|
"title": "Calendrier monochrome",
|
|
202
173
|
"additionalProperties": false,
|
|
203
174
|
"properties": {
|
|
204
|
-
"type": {
|
|
205
|
-
"const": "monochrome"
|
|
206
|
-
},
|
|
175
|
+
"type": { "const": "monochrome" },
|
|
207
176
|
"colors": {
|
|
208
177
|
"type": "object",
|
|
209
178
|
"title": "Couleur",
|
|
210
|
-
"required": [
|
|
179
|
+
"required": [],
|
|
211
180
|
"oneOf": [
|
|
212
181
|
{
|
|
213
182
|
"title": "Thème",
|
|
214
183
|
"additionalProperties": false,
|
|
215
184
|
"properties": {
|
|
216
|
-
"type": {
|
|
217
|
-
"const": "theme"
|
|
218
|
-
},
|
|
185
|
+
"type": { "const": "theme" },
|
|
219
186
|
"strValue": {
|
|
220
187
|
"title": "Couleur",
|
|
221
188
|
"type": "string",
|
|
222
189
|
"oneOf": [
|
|
223
|
-
{
|
|
224
|
-
|
|
225
|
-
"title": "Primaire"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"const": "secondary",
|
|
229
|
-
"title": "Secondaire"
|
|
230
|
-
}
|
|
190
|
+
{ "const": "primary", "title": "Primaire" },
|
|
191
|
+
{ "const": "secondary", "title": "Secondaire" }
|
|
231
192
|
]
|
|
232
193
|
}
|
|
233
194
|
}
|
|
@@ -236,30 +197,22 @@
|
|
|
236
197
|
"title": "Personnalisée",
|
|
237
198
|
"additionalProperties": false,
|
|
238
199
|
"properties": {
|
|
239
|
-
"type": {
|
|
240
|
-
"const": "custom"
|
|
241
|
-
},
|
|
200
|
+
"type": { "const": "custom" },
|
|
242
201
|
"hexValue": {
|
|
243
202
|
"type": "string",
|
|
244
203
|
"title": "Couleur",
|
|
245
|
-
"format": "hexcolor",
|
|
246
204
|
"default": "#828282",
|
|
247
|
-
"
|
|
205
|
+
"layout": "color-picker"
|
|
248
206
|
}
|
|
249
207
|
}
|
|
250
208
|
}
|
|
251
209
|
],
|
|
252
|
-
"default": {
|
|
253
|
-
"type": "theme",
|
|
254
|
-
"strValue": "primary"
|
|
255
|
-
}
|
|
210
|
+
"default": { "type": "theme", "strValue": "primary" }
|
|
256
211
|
}
|
|
257
212
|
}
|
|
258
213
|
}
|
|
259
214
|
],
|
|
260
|
-
"default": {
|
|
261
|
-
"type": "monochrome"
|
|
262
|
-
}
|
|
215
|
+
"default": { "type": "monochrome" }
|
|
263
216
|
}
|
|
264
217
|
}
|
|
265
218
|
},
|
|
@@ -271,18 +224,24 @@
|
|
|
271
224
|
"type": "object",
|
|
272
225
|
"title": "Champ de description",
|
|
273
226
|
"description": "Choisissez le champ permettant de fournir une description de l'événement, interprète le html et le markdown.",
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
|
|
227
|
+
"layout": {
|
|
228
|
+
"getItems": {
|
|
229
|
+
"url": "${rootData.datasets[0].href}/schema?calculated=false",
|
|
230
|
+
"itemKey": "data.key",
|
|
231
|
+
"itemTitle": "data.title"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
277
234
|
},
|
|
278
235
|
"additionalFields": {
|
|
279
236
|
"title": "Champs supplémentaires à afficher.",
|
|
280
237
|
"type": "array",
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
238
|
+
"items": { "type": "string" },
|
|
239
|
+
"layout": {
|
|
240
|
+
"getItems": {
|
|
241
|
+
"url": "${rootData.datasets[0].href}/schema?calculated=false",
|
|
242
|
+
"itemKey": "data.key",
|
|
243
|
+
"itemTitle": "data.label"
|
|
244
|
+
}
|
|
286
245
|
}
|
|
287
246
|
},
|
|
288
247
|
"imageWidth": {
|
|
@@ -291,7 +250,7 @@
|
|
|
291
250
|
"default": 100,
|
|
292
251
|
"minimum": 20,
|
|
293
252
|
"maximum": 100,
|
|
294
|
-
"
|
|
253
|
+
"layout": "slider"
|
|
295
254
|
},
|
|
296
255
|
"aspectRatio": {
|
|
297
256
|
"title": "Rapport de forme (largeur / hauteur)",
|
|
@@ -299,25 +258,16 @@
|
|
|
299
258
|
"default": 3,
|
|
300
259
|
"minimum": 1,
|
|
301
260
|
"maximum": 5,
|
|
302
|
-
"
|
|
261
|
+
"layout": "slider"
|
|
303
262
|
},
|
|
304
263
|
"imagePosition": {
|
|
305
264
|
"title": "Position de l'image",
|
|
306
265
|
"description": "Ne change rien si la largeur de l'image est 100% de la fiche",
|
|
307
266
|
"type": "string",
|
|
308
267
|
"oneOf": [
|
|
309
|
-
{
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"const": "left",
|
|
315
|
-
"title": "A gauche"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"const": "right",
|
|
319
|
-
"title": "A droite"
|
|
320
|
-
}
|
|
268
|
+
{ "const": "top", "title": "En haut" },
|
|
269
|
+
{ "const": "left", "title": "A gauche" },
|
|
270
|
+
{ "const": "right", "title": "A droite" }
|
|
321
271
|
],
|
|
322
272
|
"default": "top"
|
|
323
273
|
},
|
|
@@ -325,14 +275,8 @@
|
|
|
325
275
|
"title": "Rendu de l'image",
|
|
326
276
|
"type": "string",
|
|
327
277
|
"oneOf": [
|
|
328
|
-
{
|
|
329
|
-
|
|
330
|
-
"title": "Etendre"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"const": "contain",
|
|
334
|
-
"title": "Redimensionner"
|
|
335
|
-
}
|
|
278
|
+
{ "const": "cover", "title": "Etendre" },
|
|
279
|
+
{ "const": "contain", "title": "Redimensionner" }
|
|
336
280
|
],
|
|
337
281
|
"default": "cover"
|
|
338
282
|
}
|
|
@@ -340,7 +284,6 @@
|
|
|
340
284
|
},
|
|
341
285
|
{
|
|
342
286
|
"title": "Edition",
|
|
343
|
-
"x-if": "datasets.0.isRest",
|
|
344
287
|
"properties": {
|
|
345
288
|
"formDensity": {
|
|
346
289
|
"title": "Densité du formulaire",
|
|
@@ -355,10 +298,10 @@
|
|
|
355
298
|
"formWidth": {
|
|
356
299
|
"title": "Largeur du formulaire",
|
|
357
300
|
"type": "integer",
|
|
358
|
-
"x-display": "slider",
|
|
359
301
|
"minimum": 2,
|
|
360
302
|
"maximum": 10,
|
|
361
|
-
"default": 5
|
|
303
|
+
"default": 5,
|
|
304
|
+
"layout": "slider"
|
|
362
305
|
},
|
|
363
306
|
"formVariant": {
|
|
364
307
|
"title": "Style du formulaire",
|
|
@@ -393,18 +336,9 @@
|
|
|
393
336
|
"title": "Valeur minimale pour la date de début",
|
|
394
337
|
"type": "string",
|
|
395
338
|
"oneOf": [
|
|
396
|
-
{
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"const": "day",
|
|
402
|
-
"title": "Date du jour"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"const": "tomorrow",
|
|
406
|
-
"title": "Lendemain de la date du jour"
|
|
407
|
-
},
|
|
339
|
+
{ "const": "none", "title": "Pas de contrainte" },
|
|
340
|
+
{ "const": "day", "title": "Date du jour" },
|
|
341
|
+
{ "const": "tomorrow", "title": "Lendemain de la date du jour" },
|
|
408
342
|
{
|
|
409
343
|
"const": "one-week-later",
|
|
410
344
|
"title": "Une semaine après la date du jour"
|
|
@@ -420,10 +354,7 @@
|
|
|
420
354
|
"title": "Valeur maximale pour la date de fin",
|
|
421
355
|
"type": "string",
|
|
422
356
|
"oneOf": [
|
|
423
|
-
{
|
|
424
|
-
"const": "none",
|
|
425
|
-
"title": "Pas de contrainte"
|
|
426
|
-
},
|
|
357
|
+
{ "const": "none", "title": "Pas de contrainte" },
|
|
427
358
|
{
|
|
428
359
|
"const": "one-week-later",
|
|
429
360
|
"title": "Une semaine après la date du jour"
|
|
@@ -439,7 +370,108 @@
|
|
|
439
370
|
],
|
|
440
371
|
"default": "none"
|
|
441
372
|
}
|
|
373
|
+
},
|
|
374
|
+
"layout": { "if": "rootData.datasets[0].isRest" }
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"definitions": {
|
|
378
|
+
"filters": {
|
|
379
|
+
"title": "Filtres prédéfinis",
|
|
380
|
+
"type": "array",
|
|
381
|
+
"layout": { "messages": { "addItem": "ajouter un filtre" } },
|
|
382
|
+
"items": {
|
|
383
|
+
"type": "object",
|
|
384
|
+
"default": { "type": "in" },
|
|
385
|
+
"required": [],
|
|
386
|
+
"oneOf": [
|
|
387
|
+
{
|
|
388
|
+
"title": "Restreindre à des valeurs",
|
|
389
|
+
"required": ["field", "values"],
|
|
390
|
+
"additionalProperties": false,
|
|
391
|
+
"properties": {
|
|
392
|
+
"type": { "const": "in" },
|
|
393
|
+
"field": { "$ref": "#/definitions/filterField" },
|
|
394
|
+
"values": {
|
|
395
|
+
"type": "array",
|
|
396
|
+
"title": "Valeurs",
|
|
397
|
+
"items": { "type": "string" },
|
|
398
|
+
"layout": {
|
|
399
|
+
"getItems": {
|
|
400
|
+
"url": "${rootData.datasets[0].href}/values-labels/${parent.data.field}?q={q}&q_mode=complete&size=1000&stringify=true",
|
|
401
|
+
"itemKey": "data.value",
|
|
402
|
+
"itemTitle": "data.label"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"title": "Restreindre à un interval de valeurs",
|
|
410
|
+
"required": ["field"],
|
|
411
|
+
"additionalProperties": false,
|
|
412
|
+
"properties": {
|
|
413
|
+
"type": { "const": "interval" },
|
|
414
|
+
"field": { "$ref": "#/definitions/filterField" },
|
|
415
|
+
"minValue": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"title": "Valeur min",
|
|
418
|
+
"layout": {
|
|
419
|
+
"getItems": {
|
|
420
|
+
"url": "${rootData.datasets[0].href}/values-labels/$${parent.data.field}?sort=asc&{parent.data.field}_gte={q}&stringify=true",
|
|
421
|
+
"itemKey": "data.value",
|
|
422
|
+
"itemTitle": "data.label"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"maxValue": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"title": "Valeur max",
|
|
429
|
+
"layout": {
|
|
430
|
+
"getItems": {
|
|
431
|
+
"url": "${rootData.datasets[0].href}/values-labels/$${parent.data.field}?sort=desc&{parent.data.field}_lte={q}&stringify=true",
|
|
432
|
+
"itemKey": "data.value",
|
|
433
|
+
"itemTitle": "data.label"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"title": "Exclure des valeurs",
|
|
441
|
+
"required": ["field"],
|
|
442
|
+
"additionalProperties": false,
|
|
443
|
+
"properties": {
|
|
444
|
+
"type": { "const": "nin" },
|
|
445
|
+
"field": { "$ref": "#/definitions/filterField" },
|
|
446
|
+
"values": {
|
|
447
|
+
"type": "array",
|
|
448
|
+
"title": "Valeurs à exclure",
|
|
449
|
+
"items": { "type": "string" },
|
|
450
|
+
"layout": {
|
|
451
|
+
"getItems": {
|
|
452
|
+
"url": "${rootData.datasets[0].href}/values-labels/${parent.data.field}?q={q}&q_mode=complete&size=1000&stringify=true",
|
|
453
|
+
"itemKey": "data.value",
|
|
454
|
+
"itemTitle": "data.label"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"filterField": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"title": "Colonne de filtre",
|
|
466
|
+
"layout": {
|
|
467
|
+
"getItems": {
|
|
468
|
+
"url": "${rootData.datasets[0].href}/schema?calculated=false",
|
|
469
|
+
"itemKey": "data.key",
|
|
470
|
+
"itemTitle": "data.label"
|
|
471
|
+
}
|
|
442
472
|
}
|
|
443
473
|
}
|
|
444
|
-
|
|
474
|
+
},
|
|
475
|
+
"$id": "config-schema",
|
|
476
|
+
"layout": "tabs"
|
|
445
477
|
}
|
package/dist/index.html
CHANGED
|
@@ -7,18 +7,21 @@
|
|
|
7
7
|
<meta name="df:sync-state" content="true">
|
|
8
8
|
<meta name="df:filter-concepts" content="true" />
|
|
9
9
|
<meta name="df:overflow" content="true">
|
|
10
|
+
<meta name="df:vjsf" content="3">
|
|
11
|
+
<meta name="df:sync-config" content="false">
|
|
10
12
|
<meta name="thumbnail" content="thumbnail.png" />
|
|
11
13
|
<meta name="{VERSION}" content="trigger" />
|
|
12
14
|
<meta name="application-name" content="Application Calendrier">
|
|
13
15
|
<meta name="description" lang="fr" content="Une application de type calendrier">
|
|
14
16
|
<meta name="keywords" lang="fr" content="Calendrier">
|
|
15
17
|
<title lang="fr">Calendrier</title>
|
|
18
|
+
<title lang="en">Calendar</title>
|
|
16
19
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:300,400,500,700,400italic" />
|
|
17
20
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@7.x/css/materialdesignicons.min.css" />
|
|
18
21
|
<!-- Capture a global variable defined by data-fair's reverse proxy. -->
|
|
19
22
|
<script type="text/javascript">window.APPLICATION=%APPLICATION%;</script>
|
|
20
|
-
<script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.
|
|
21
|
-
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.
|
|
23
|
+
<script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.12/dist/assets/index-gXBW67iz.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.12/dist/assets/index-DRr2cjCG.css">
|
|
22
25
|
</head>
|
|
23
26
|
<body>
|
|
24
27
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@data-fair/app-calendar",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"dev": "
|
|
7
|
-
"dev-
|
|
6
|
+
"dev": "zellij --layout .zellij.kdl",
|
|
7
|
+
"dev-server": "APP_URL=http://localhost:3000/app/ df-dev-server",
|
|
8
|
+
"dev-app": "vite",
|
|
8
9
|
"build": "PUBLIC_URL=https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@${npm_package_version}/dist vite build",
|
|
9
10
|
"build-test": "PUBLIC_URL=https://staging-koumoul.com/apps/calendar/master/ vite build",
|
|
10
11
|
"preview": "vite preview",
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"vuetify": "^3.9.5"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@data-fair/dev-server": "^
|
|
44
|
+
"@data-fair/dev-server": "^2.0.21",
|
|
44
45
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
45
46
|
"eslint": "^8.57.0",
|
|
46
47
|
"eslint-config-standard": "^17.1.0",
|