@ulb-darmstadt/shacl-form 1.4.8 → 1.5.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/README.md +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/form-bootstrap.js +1 -1
- package/dist/form-default.js +1 -1
- package/dist/form-material.js +100 -97
- package/dist/loader.d.ts +1 -1
- package/dist/plugins/leaflet.js +1 -1
- package/dist/plugins/mapbox.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ 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
73
|
|
|
73
74
|
### Element functions
|
|
74
75
|
|
package/dist/config.d.ts
CHANGED
package/dist/constants.d.ts
CHANGED
|
@@ -6,9 +6,11 @@ export declare const PREFIX_RDFS = "http://www.w3.org/2000/01/rdf-schema#";
|
|
|
6
6
|
export declare const PREFIX_SKOS = "http://www.w3.org/2004/02/skos/core#";
|
|
7
7
|
export declare const PREFIX_OWL = "http://www.w3.org/2002/07/owl#";
|
|
8
8
|
export declare const PREFIX_OA = "http://www.w3.org/ns/oa#";
|
|
9
|
+
export declare const PREFIX_DCTERMS = "http://purl.org/dc/terms/";
|
|
9
10
|
export declare const SHAPES_GRAPH: import("n3").NamedNode<"shapes">;
|
|
10
11
|
export declare const OWL_IMPORTS: import("n3").NamedNode<string>;
|
|
11
12
|
export declare const RDF_PREDICATE_TYPE: import("n3").NamedNode<string>;
|
|
13
|
+
export declare const DCTERMS_PREDICATE_CONFORMS_TO: import("n3").NamedNode<string>;
|
|
12
14
|
export declare const RDFS_PREDICATE_SUBCLASS_OF: import("n3").NamedNode<string>;
|
|
13
15
|
export declare const SKOS_PREDICATE_BROADER: import("n3").NamedNode<string>;
|
|
14
16
|
export declare const OWL_OBJECT_NAMED_INDIVIDUAL: import("n3").NamedNode<string>;
|