@data-fair/app-dashboards 0.9.4 → 0.9.6
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
@@ -216,6 +216,9 @@
|
|
216
216
|
},
|
217
217
|
{
|
218
218
|
"$ref": "#/definitions/column"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"$ref": "#/definitions/form"
|
219
222
|
}
|
220
223
|
]
|
221
224
|
}
|
@@ -469,6 +472,26 @@
|
|
469
472
|
}
|
470
473
|
}
|
471
474
|
},
|
475
|
+
"form": {
|
476
|
+
"title": "Formulaire de saisie",
|
477
|
+
"properties": {
|
478
|
+
"type": { "const": "form", "title": "Type de l'élément" },
|
479
|
+
"dataset": {
|
480
|
+
"type": "object",
|
481
|
+
"title": "Jeu de données",
|
482
|
+
"x-fromUrl": "api/v1/datasets?q={q}&{context.datasetFilter}&rest=true&select=id,title,schema&sort=createdAt:-1",
|
483
|
+
"x-itemKey": "id",
|
484
|
+
"x-itemTitle": "title",
|
485
|
+
"x-itemsProp": "results",
|
486
|
+
"properties": {
|
487
|
+
"id": { "type": "string" },
|
488
|
+
"title": { "type": "string" },
|
489
|
+
"href": { "type": "string" },
|
490
|
+
"schema": { "type": "array" }
|
491
|
+
}
|
492
|
+
}
|
493
|
+
}
|
494
|
+
},
|
472
495
|
"column": {
|
473
496
|
"title": "Colonne",
|
474
497
|
"properties": {
|
@@ -486,8 +509,18 @@
|
|
486
509
|
},
|
487
510
|
{
|
488
511
|
"$ref": "#/definitions/text"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"$ref": "#/definitions/form"
|
515
|
+
}
|
516
|
+
],
|
517
|
+
"properties": {
|
518
|
+
"height": {
|
519
|
+
"title": "Hauteur (pondération)",
|
520
|
+
"type": "integer",
|
521
|
+
"default": 100
|
489
522
|
}
|
490
|
-
|
523
|
+
}
|
491
524
|
}
|
492
525
|
}
|
493
526
|
}
|
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.
|
24
|
-
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.
|
23
|
+
<script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.6/dist/assets/index-DV4XyawJ.js"></script>
|
24
|
+
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.6/dist/assets/index-DQsqORXR.css">
|
25
25
|
</head>
|
26
26
|
|
27
27
|
<body>
|