@data-fair/app-dashboards
Advanced tools
Comparing version 0.0.1-staging.4 to 0.1.0
{ | ||
"type": "object", | ||
"properties": { | ||
"concept": { | ||
"title": "Concept principal", | ||
"description": "Sert de filtre commun à toutes les applications rendues dans ce dashboard.", | ||
"x-fromUrl": "api/v1/vocabulary", | ||
"x-itemKey": "id", | ||
"type": "object", | ||
"properties": { | ||
"id": {"type": "string"}, | ||
"identifiers": {"type": "array"}, | ||
"title": {"type": "string"} | ||
} | ||
"datasets": { | ||
"type": "array", | ||
"items": [{ | ||
"title": "Source des valeurs pour le filtre commun", | ||
"type": "object", | ||
"x-fromUrl": "api/v1/datasets?status=finalized&q={q}&select=id,title&owner={context.owner.type}:{context.owner.id}", | ||
"x-itemsProp": "results", | ||
"x-itemTitle": "title", | ||
"x-itemKey": "href", | ||
"properties": { | ||
"href": { | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
} | ||
}] | ||
}, | ||
"masterData": { | ||
"title": "Source des valeurs pour le concept principal", | ||
"x-fromUrl": "api/v1/remote-services-actions?q={q}&output-concepts={modelRoot.concept.id}&{context.remoteServiceFilter}&inputCollection=false&select=id,server,actions.id,actions.operation,actions.input,actions.output", | ||
"x-itemsProp": "results", | ||
"x-itemKey": "id", | ||
"x-itemTitle": "title", | ||
"x-if": "modelRoot.concept", | ||
"type": "object", | ||
"properties": { | ||
"id": {"type": "string"}, | ||
"title": {"type": "string"}, | ||
"remoteService": {"type": "object"}, | ||
"action": {"type": "object"} | ||
} | ||
"labelField": { | ||
"title": "Colonne de libellé pour le filtre commun", | ||
"type": "string", | ||
"x-fromUrl": "{datasets.0.href}/schema?calculated=false&separator=false", | ||
"x-itemTitle": "label", | ||
"x-itemKey": "key" | ||
}, | ||
@@ -40,2 +42,7 @@ "sections": { | ||
"description": { "type": "string" }, | ||
"height": { | ||
"title": "Hauteur (px)", | ||
"type": "integer", | ||
"default": 400 | ||
}, | ||
"elements": { | ||
@@ -46,2 +53,43 @@ "title": "Éléments", | ||
"type": "object", | ||
"properties":{ | ||
"concept": { | ||
"title": "Colonne du filtre commun", | ||
"x-fromUrl": "{datasets.0.href}/schema?calculated=false&separator=false", | ||
"x-itemKey": "id", | ||
"x-itemTitle": "title", | ||
"type": "object", | ||
"properties": { | ||
"key": {"type": "string"}, | ||
"title": {"type": "string"}, | ||
"x-concept": {"type": "object"} | ||
} | ||
}, | ||
"valueMandatory": { | ||
"title": "Nécessite une valeur dans le filtre", | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"width": { | ||
"title": "Largeur", | ||
"type": "string", | ||
"oneOf": [{ | ||
"const": "small", | ||
"title": "Fin" | ||
}, | ||
{ | ||
"const": "medium", | ||
"title": "Moyen" | ||
}, | ||
{ | ||
"const": "large", | ||
"title": "Large" | ||
}, | ||
{ | ||
"const": "full", | ||
"title": "Toute la largeur" | ||
} | ||
], | ||
"default": "medium" | ||
} | ||
}, | ||
"oneOf": [{ | ||
@@ -53,3 +101,3 @@ "title": "Prévisualisation table", | ||
"type": "object", | ||
"x-fromUrl": "api/v1/datasets?q={q}&short-concept={modelRoot.concept.id}&{context.datasetFilter}&select=id,title", | ||
"x-fromUrl": "api/v1/datasets?q={q}&short-concept={parent.parent.value.concept['x-concept'].id}&{context.datasetFilter}&select=id,title", | ||
"x-itemKey": "id", | ||
@@ -62,2 +110,20 @@ "x-itemTitle": "title", | ||
} | ||
}, | ||
"display": { | ||
"type": "string", | ||
"oneOf": [{ | ||
"const": "table", | ||
"title": "Tableau" | ||
}, | ||
{ | ||
"const": "table-dense", | ||
"title": "Tableau dense" | ||
}, | ||
{ | ||
"const": "list", | ||
"title": "Vignettes" | ||
} | ||
], | ||
"default": "table", | ||
"title": "Affichage" | ||
} | ||
@@ -64,0 +130,0 @@ } |
{ | ||
"name": "@data-fair/app-dashboards", | ||
"version": "0.0.1-staging.4", | ||
"version": "0.1.0", | ||
"scripts": { | ||
"dev": "DATAFAIR_URL=https://staging-koumoul.com/data-fair DATAFAIR_OWNER_ID=jxKDdH3lR df-dev-server", | ||
"dev": "df-dev-server", | ||
"dev-src": "nuxt dev", | ||
@@ -25,4 +25,4 @@ "build": "rm -rf dist && PUBLIC_URL=https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@${npm_package_version}/dist nuxt generate && rm dist && cp -rf .output/public ./dist", | ||
"dependencies": { | ||
"@koumoul/v-iframe": "^2.0.0" | ||
"@koumoul/v-iframe": "^2.2.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
659057
2660
3
Updated@koumoul/v-iframe@^2.2.0