@data-fair/app-dashboards 0.9.9 → 0.10.0

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.
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "title": "Source des valeurs pour les filtres",
9
9
  "type": "object",
10
- "x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=id,title,schema,timePeriod,bbox&{context.datasetFilter}&sort=createdAt:-1",
10
+ "x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=id,title,slug,schema,timePeriod,bbox&{context.datasetFilter}&sort=createdAt:-1",
11
11
  "x-itemsProp": "results",
12
12
  "x-itemTitle": "title",
13
13
  "x-itemKey": "href",
@@ -21,6 +21,9 @@
21
21
  "id": {
22
22
  "type": "string"
23
23
  },
24
+ "slug": {
25
+ "type": "string"
26
+ },
24
27
  "schema": {
25
28
  "type": "array"
26
29
  },
@@ -79,8 +82,7 @@
79
82
  "startValue": {
80
83
  "type": "string",
81
84
  "title": "Valeur initiale",
82
- "x-fromUrl": "{datasets.0.href}/values/{parent.value.labelField}?q={q}&q_mode=complete&size=100&stringify=true",
83
- "x-if": "parent.value.forceOneValue"
85
+ "x-fromUrl": "{datasets.0.href}/values/{parent.value.labelField}?q={q}&q_mode=complete&size=100&stringify=true"
84
86
  },
85
87
  "showAllValues": {
86
88
  "title": "Garder toutes les valeurs dans la liste",
@@ -228,6 +230,21 @@
228
230
  }
229
231
  }
230
232
  }
233
+ },
234
+ "showSources": {
235
+ "title": "Afficher les liens vers les sources des données",
236
+ "type": "boolean",
237
+ "default": false
238
+ },
239
+ "showEmbed": {
240
+ "title": "Afficher le bouton d'intégration des visualisations",
241
+ "type": "boolean",
242
+ "default": false
243
+ },
244
+ "showCapture": {
245
+ "title": "Afficher le bouton d'export des visualisations",
246
+ "type": "boolean",
247
+ "default": false
231
248
  }
232
249
  },
233
250
  "definitions": {
@@ -307,12 +324,13 @@
307
324
  },
308
325
  "dataset": {
309
326
  "type": "object",
310
- "x-fromUrl": "api/v1/datasets?q={q}&{context.datasetFilter}&select=id,title,schema&sort=createdAt:-1",
327
+ "x-fromUrl": "api/v1/datasets?q={q}&{context.datasetFilter}&select=id,title,slug,schema&sort=createdAt:-1",
311
328
  "x-itemKey": "id",
312
329
  "x-itemTitle": "title",
313
330
  "x-itemsProp": "results",
314
331
  "properties": {
315
332
  "id": { "type": "string" },
333
+ "slug": { "type": "string" },
316
334
  "title": { "type": "string" },
317
335
  "href": { "type": "string" },
318
336
  "schema": { "type": "array" }
@@ -398,6 +416,7 @@
398
416
  "properties": {
399
417
  "id": { "type": "string" },
400
418
  "title": { "type": "string" },
419
+ "href": { "type": "string" },
401
420
  "baseApp": { "type": "object" }
402
421
  }
403
422
  },
@@ -416,6 +435,25 @@
416
435
  "items": {
417
436
  "type": "string"
418
437
  }
438
+ },
439
+ "description": {
440
+ "title": "Affichage de la description",
441
+ "type": "string",
442
+ "oneOf": [
443
+ {
444
+ "const": "none",
445
+ "title": "Aucun affichage"
446
+ },
447
+ {
448
+ "const": "left",
449
+ "title": "A gauche"
450
+ },
451
+ {
452
+ "const": "right",
453
+ "title": "A droite"
454
+ }
455
+ ],
456
+ "default": "none"
419
457
  }
420
458
  }
421
459
  },
package/dist/index.html CHANGED
@@ -20,8 +20,8 @@
20
20
 
21
21
  <!-- Capture a global variable defined by data-fair's reverse proxy. -->
22
22
  <script type="text/javascript">window.APPLICATION=%APPLICATION%;</script>
23
- <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.9/dist/assets/index-Kgrr-bdD.js"></script>
24
- <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.9/dist/assets/index-DQsqORXR.css">
23
+ <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.10.0/dist/assets/index-CqADnOlp.js"></script>
24
+ <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.10.0/dist/assets/index-3SH3TovJ.css">
25
25
  </head>
26
26
 
27
27
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/app-dashboards",
3
- "version": "0.9.9",
3
+ "version": "0.10.0",
4
4
  "scripts": {
5
5
  "dev": "APP_URL=http://localhost:3000/app/ df-dev-server",
6
6
  "dev-src": "vite",
@@ -18,23 +18,22 @@
18
18
  "not ie 11"
19
19
  ],
20
20
  "dependencies": {
21
+ "@data-fair/frame": "^0.12.1",
21
22
  "@data-fair/lib-vue": "^1.13.10",
22
23
  "@data-fair/lib-vuetify": "^1.6.6",
23
- "@koumoul/v-iframe": "^2.4.4",
24
24
  "@vueuse/core": "^12.0.0",
25
25
  "ofetch": "^1.3.3",
26
- "unplugin-fonts": "^1.3.1",
27
26
  "vue": "^3.4.15",
28
27
  "vuetify": "^3.7.4"
29
28
  },
30
29
  "devDependencies": {
31
- "@data-fair/dev-server": "^1.12.0",
32
- "@types/node": "^20.9.1",
30
+ "@data-fair/dev-server": "^1.13.1",
33
31
  "@vitejs/plugin-vue": "^5.0.3",
34
32
  "eslint": "^8.49.0",
35
33
  "eslint-config-standard": "^17.1.0",
36
34
  "eslint-plugin-vue": "^9.17.0",
37
35
  "sass": "^1.71.0",
36
+ "unplugin-fonts": "^1.3.1",
38
37
  "vite": "^5.0.11",
39
38
  "vite-plugin-vuetify": "^2.0.1"
40
39
  }