@data-fair/app-dashboards 0.6.0 → 0.7.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.
package/dist/config-schema.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
"items": [{
|
7
7
|
"title": "Source des valeurs pour les filtres",
|
8
8
|
"type": "object",
|
9
|
-
"x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=id,title,schema,timePeriod&owner={context.owner.type}:{context.owner.id}",
|
9
|
+
"x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=id,title,schema,timePeriod,bbox&owner={context.owner.type}:{context.owner.id}",
|
10
10
|
"x-itemsProp": "results",
|
11
11
|
"x-itemTitle": "title",
|
12
12
|
"x-itemKey": "href",
|
@@ -25,6 +25,9 @@
|
|
25
25
|
},
|
26
26
|
"timePeriod": {
|
27
27
|
"type": "object"
|
28
|
+
},
|
29
|
+
"bbox": {
|
30
|
+
"type": "array"
|
28
31
|
}
|
29
32
|
}
|
30
33
|
}]
|
@@ -81,6 +84,16 @@
|
|
81
84
|
}
|
82
85
|
}
|
83
86
|
},
|
87
|
+
"periodFilter":{
|
88
|
+
"title": "Ajouter un filtre sur la période",
|
89
|
+
"type": "boolean",
|
90
|
+
"default": false
|
91
|
+
},
|
92
|
+
"addressFilter":{
|
93
|
+
"title": "Ajouter un filtre par adresse",
|
94
|
+
"type": "boolean",
|
95
|
+
"default": false
|
96
|
+
},
|
84
97
|
"title": {
|
85
98
|
"type": "string",
|
86
99
|
"title": "Titre"
|
@@ -201,21 +214,6 @@
|
|
201
214
|
"title": "Prévisualisation table",
|
202
215
|
"properties": {
|
203
216
|
"type": { "const": "tablePreview", "title": "Type de l'élément" },
|
204
|
-
"concepts": {
|
205
|
-
"type": "array",
|
206
|
-
"x-fromUrl": "{datasets.0.href}/schema?calculated=false&separator=false&concept=true",
|
207
|
-
"x-itemKey": "key",
|
208
|
-
"x-itemTitle": "label",
|
209
|
-
"items": {
|
210
|
-
"title": "Colonne du filtre commun",
|
211
|
-
"type": "object",
|
212
|
-
"properties": {
|
213
|
-
"key": {"type": "string"},
|
214
|
-
"label": {"type": "string"},
|
215
|
-
"x-concept": {"type": "object"}
|
216
|
-
}
|
217
|
-
}
|
218
|
-
},
|
219
217
|
"valueMandatory": {
|
220
218
|
"title": "Nécessite une valeur dans le filtre",
|
221
219
|
"type": "boolean",
|
@@ -223,14 +221,15 @@
|
|
223
221
|
},
|
224
222
|
"dataset": {
|
225
223
|
"type": "object",
|
226
|
-
"x-fromUrl": "api/v1/datasets?q={q}&{context.datasetFilter}&select=id,title",
|
224
|
+
"x-fromUrl": "api/v1/datasets?q={q}&{context.datasetFilter}&select=id,title,schema",
|
227
225
|
"x-itemKey": "id",
|
228
226
|
"x-itemTitle": "title",
|
229
227
|
"x-itemsProp": "results",
|
230
228
|
"properties": {
|
231
229
|
"id": {"type": "string"},
|
232
230
|
"title": {"type": "string"},
|
233
|
-
"href": {"type": "string"}
|
231
|
+
"href": {"type": "string"},
|
232
|
+
"schema": {"type": "array"}
|
234
233
|
}
|
235
234
|
},
|
236
235
|
"display": {
|
@@ -273,21 +272,6 @@
|
|
273
272
|
"title": "Visualisation",
|
274
273
|
"properties": {
|
275
274
|
"type": { "const": "application", "title": "Type de l'élément" },
|
276
|
-
"concepts": {
|
277
|
-
"type": "array",
|
278
|
-
"x-fromUrl": "{datasets.0.href}/schema?calculated=false&separator=false&concept=true",
|
279
|
-
"x-itemKey": "key",
|
280
|
-
"x-itemTitle": "label",
|
281
|
-
"items": {
|
282
|
-
"title": "Colonne du filtre commun",
|
283
|
-
"type": "object",
|
284
|
-
"properties": {
|
285
|
-
"key": {"type": "string"},
|
286
|
-
"label": {"type": "string"},
|
287
|
-
"x-concept": {"type": "object"}
|
288
|
-
}
|
289
|
-
}
|
290
|
-
},
|
291
275
|
"valueMandatory": {
|
292
276
|
"title": "Nécessite une valeur dans le filtre",
|
293
277
|
"type": "boolean",
|
package/dist/index.html
CHANGED
@@ -20,13 +20,12 @@
|
|
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.
|
24
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.
|
23
|
+
<script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.7.0/dist/assets/index-GfEwY5H1.js"></script>
|
24
|
+
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.7.0/dist/assets/index-CaUwrmsK.css">
|
25
25
|
</head>
|
26
26
|
|
27
27
|
<body>
|
28
28
|
<div id="app"></div>
|
29
|
-
|
30
29
|
</body>
|
31
30
|
|
32
31
|
</html>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@data-fair/app-dashboards",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.7.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/lib": "^0.
|
21
|
+
"@data-fair/lib": "^0.30.0",
|
22
22
|
"@koumoul/v-iframe": "^2.4.0",
|
23
|
-
"@vueuse/core": "^10.
|
24
|
-
"core-js": "^3.29.0",
|
23
|
+
"@vueuse/core": "^10.7.2",
|
25
24
|
"ofetch": "^1.3.3",
|
26
|
-
"vue": "^3.
|
27
|
-
"vuetify": "^3.4
|
25
|
+
"vue": "^3.4.15",
|
26
|
+
"vuetify": "^3.5.4"
|
28
27
|
},
|
29
28
|
"devDependencies": {
|
30
|
-
"@data-fair/dev-server": "^1.
|
29
|
+
"@data-fair/dev-server": "^1.12.0",
|
31
30
|
"@types/node": "^20.9.1",
|
32
|
-
"@vitejs/plugin-vue": "^
|
33
|
-
"eslint": "^8.
|
31
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
32
|
+
"eslint": "^8.49.0",
|
34
33
|
"eslint-config-standard": "^17.1.0",
|
35
|
-
"eslint-plugin-vue": "^9.
|
36
|
-
"sass": "^1.
|
37
|
-
"vite": "^
|
38
|
-
"vite-plugin-vuetify": "^
|
34
|
+
"eslint-plugin-vue": "^9.17.0",
|
35
|
+
"sass": "^1.71.0",
|
36
|
+
"vite": "^5.0.11",
|
37
|
+
"vite-plugin-vuetify": "^2.0.1"
|
39
38
|
}
|
40
39
|
}
|