@ulb-darmstadt/shacl-form 1.5.1 → 1.5.3

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/README.md CHANGED
@@ -69,7 +69,8 @@ data‑ignore‑owl‑imports | By default, `owl:imports` URLs ar
69
69
  data-view | When set, turns the web component into a viewer that displays the given data graph without editing functionality
70
70
  data-collapse | When set, `sh:group`s and properties with `sh:node` and `sh:maxCount` != 1 are displayed in a collapsible accordion-like widget to reduce visual complexity of the form. The collapsible element is initially shown closed, except when this attribute's value is `"open"`
71
71
  data-submit-button | [Ignored when `data-view` attribute is set] Whether to add a submit button to the form. The value of this attribute is used as the button label. `submit` events get emitted only when the form data validates
72
- data-generate-node-shape-reference | When generating the RDF data graph, <shacl-form> can create a triple that references the root `sh:NodeShape` of the data. Supported values of this attribute are `rdf:type` or `dcterms:conformsTo`. Default is empty, so that no such triple is created
72
+ data-generate-node-shape-reference | When generating the RDF data graph, <shacl-form> can create a triple that references the root `sh:NodeShape` of the data. Suggested values for this attribute are `http://www.w3.org/1999/02/22-rdf-syntax-ns#type` or `http://purl.org/dc/terms/conformsTo`. Default is empty, so that no such triple is created
73
+ show-node-ids | When this attribute is set, shacl node shapes will have their subject id shown in the form
73
74
 
74
75
  ### Element functions
75
76
 
package/dist/config.d.ts CHANGED
@@ -22,6 +22,7 @@ export declare class ElementAttributes {
22
22
  collapse: string | null;
23
23
  submitButton: string | null;
24
24
  generateNodeShapeReference: string | null;
25
+ showNodeIds: string | null;
25
26
  }
26
27
  export declare class Config {
27
28
  attributes: ElementAttributes;