@ulb-darmstadt/shacl-form 1.4.5 → 1.4.7
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 -1
- package/dist/config.d.ts +3 -1
- 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 +96 -96
- package/dist/plugins/leaflet.js +1 -1
- package/dist/plugins/mapbox.js +1 -1
- package/dist/util.d.ts +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ an `sh:class` predicate. The expected return value is a (promise of a) string (e
|
|
|
154
154
|
<http://example.org/alloy> a <http://example.org/Material>; <http://www.w3.org/2000/01/rdf-schema#label> "Alloy".
|
|
155
155
|
<http://example.org/plaster> a <http://example.org/Material>; <http://www.w3.org/2000/01/rdf-schema#label> "Plaster".
|
|
156
156
|
`
|
|
157
|
-
}
|
|
157
|
+
}}
|
|
158
158
|
)
|
|
159
159
|
```
|
|
160
160
|
returns instances of the class `http://example.org/Material` that are then used to populate the "Artwork material" dropdown in the form.
|
package/dist/config.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class ElementAttributes {
|
|
|
16
16
|
valuesSubject: string | null;
|
|
17
17
|
valuesNamespace: string;
|
|
18
18
|
view: string | null;
|
|
19
|
-
language: string;
|
|
19
|
+
language: string | null;
|
|
20
20
|
loading: string;
|
|
21
21
|
ignoreOwlImports: string | null;
|
|
22
22
|
collapse: string | null;
|
|
@@ -28,11 +28,13 @@ export declare class Config {
|
|
|
28
28
|
classInstanceProvider: ClassInstanceProvider | undefined;
|
|
29
29
|
prefixes: Prefixes;
|
|
30
30
|
editMode: boolean;
|
|
31
|
+
languages: string[];
|
|
31
32
|
dataGraph: Store<import("@rdfjs/types").Quad, import("n3").Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>;
|
|
32
33
|
lists: Record<string, Term[]>;
|
|
33
34
|
groups: Array<string>;
|
|
34
35
|
theme: Theme;
|
|
35
36
|
form: HTMLElement;
|
|
37
|
+
renderedNodes: Set<string>;
|
|
36
38
|
private _shapesGraph;
|
|
37
39
|
constructor(theme: Theme, form: HTMLElement);
|
|
38
40
|
updateAttributes(elem: HTMLElement): void;
|
package/dist/constants.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export declare const RDFS_PREDICATE_SUBCLASS_OF: import("n3").NamedNode<string>;
|
|
|
13
13
|
export declare const SKOS_PREDICATE_BROADER: import("n3").NamedNode<string>;
|
|
14
14
|
export declare const OWL_OBJECT_NAMED_INDIVIDUAL: import("n3").NamedNode<string>;
|
|
15
15
|
export declare const SHACL_OBJECT_NODE_SHAPE: import("n3").NamedNode<string>;
|
|
16
|
+
export declare const SHACL_OBJECT_IRI: import("n3").NamedNode<string>;
|
|
16
17
|
export declare const SHACL_PREDICATE_CLASS: import("n3").NamedNode<string>;
|
|
17
18
|
export declare const SHACL_PREDICATE_TARGET_CLASS: import("n3").NamedNode<string>;
|
|
19
|
+
export declare const SHACL_PREDICATE_NODE_KIND: import("n3").NamedNode<string>;
|