rdf-entity-webcomponent
Advanced tools
{ | ||
"name": "rdf-entity-webcomponent", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A Web component that displays a Graph Pointer (clownface)", | ||
@@ -39,2 +39,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@changesets/cli": "^2.25.2", | ||
"@custom-elements-manifest/analyzer": "^0.6.6", | ||
@@ -46,9 +47,8 @@ "c8": "^7.12.0", | ||
"expect-mocha-snapshot": "^2.1.5", | ||
"husky": "^8.0.2", | ||
"mocha": "^10.0.0", | ||
"n3": "^1.16.2", | ||
"standard": "^17.0.0", | ||
"vite": "^3.2.4", | ||
"husky": "^8.0.2", | ||
"@changesets/cli": "^2.25.2" | ||
"vite": "^3.2.4" | ||
} | ||
} |
@@ -40,4 +40,4 @@ # rdf-entity-webcomponent | ||
| `maxLevel` | `max-level` | | `Number` | 3 | The maximum depth of the trees | | ||
| `namedGraphs` | `named-graphs` | | `Boolean` | false | Display stats about named graphs and counts | | ||
| `showNamedGraphs` | `show-named-graphs` | | `Boolean` | false | Display stats about named graphs and counts | | ||
| `metadata` | `metadata` | | `Object` | undefined | Additional values to display in the section `metadata` | | ||
| `debug` | `debug` | | `Boolean` | false | Displays the current triples for debugging | |
@@ -25,7 +25,7 @@ function boolean (value, defaultValue) { | ||
debug: boolean(webComponent.debug, false), | ||
showNamedGraphs: boolean(webComponent.showNamedGraphs, false), | ||
// The following are shortcuts and do not correspond to the exact options of the builder | ||
groupValuesByProperty: boolean(webComponent.compactMode, false), | ||
groupPropertiesByValue: boolean(webComponent.compactMode, false), | ||
showNamedGraphs: boolean(webComponent.namedGraphs, false) | ||
groupPropertiesByValue: boolean(webComponent.compactMode, false) | ||
} | ||
@@ -32,0 +32,0 @@ } |
@@ -154,3 +154,3 @@ import { LitElement, css } from 'lit-element' | ||
maxLevel: { type: Number, attribute: 'max-level', required: false }, | ||
namedGraphs: { type: Boolean, attribute: 'named-graphs', required: false }, | ||
showNamedGraphs: { type: Boolean, attribute: 'show-named-graphs', required: false }, | ||
metadata: { type: Object, attribute: 'metadata', required: false }, | ||
@@ -157,0 +157,0 @@ debug: { type: Boolean, attribute: 'debug', required: false } |
Sorry, the diff of this file is not supported yet
205736
0.01%