@ulb-darmstadt/shacl-form 1.3.6 → 1.3.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/package.json +2 -2
- package/dist/config.d.ts +0 -39
- package/dist/constants.d.ts +0 -16
- package/dist/constraints.d.ts +0 -7
- package/dist/exports.d.ts +0 -2
- package/dist/form-bootstrap.d.ts +0 -5
- package/dist/form-bootstrap.js +0 -2
- package/dist/form-bootstrap.js.LICENSE.txt +0 -71
- package/dist/form-default.d.ts +0 -5
- package/dist/form-default.js +0 -2
- package/dist/form-default.js.LICENSE.txt +0 -71
- package/dist/form-material.d.ts +0 -5
- package/dist/form-material.js +0 -351
- package/dist/form-material.js.LICENSE.txt +0 -137
- package/dist/form.d.ts +0 -24
- package/dist/group.d.ts +0 -2
- package/dist/loader.d.ts +0 -12
- package/dist/node.d.ts +0 -10
- package/dist/plugin.d.ts +0 -21
- package/dist/plugins/fixed-list.d.ts +0 -9
- package/dist/plugins/fixed-list.js +0 -1
- package/dist/plugins/mapbox.d.ts +0 -24
- package/dist/plugins/mapbox.js +0 -2
- package/dist/plugins/mapbox.js.LICENSE.txt +0 -1
- package/dist/property-template.d.ts +0 -36
- package/dist/property.d.ts +0 -13
- package/dist/serialize.d.ts +0 -4
- package/dist/theme.d.ts +0 -27
- package/dist/themes/bootstrap.d.ts +0 -10
- package/dist/themes/default.d.ts +0 -15
- package/dist/themes/material.d.ts +0 -15
- package/dist/util.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulb-darmstadt/shacl-form",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "SHACL form generator",
|
|
5
5
|
"main": "dist/form-default.js",
|
|
6
6
|
"module": "dist/form-default.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@mapbox/mapbox-gl-draw": "^1.4.3",
|
|
49
|
-
"@material/web": "^1.
|
|
49
|
+
"@material/web": "^1.3.0",
|
|
50
50
|
"bootstrap": "^5.3.3",
|
|
51
51
|
"jsonld": "^8.3.2",
|
|
52
52
|
"mapbox-gl": "^3.1.2",
|
package/dist/config.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Prefixes, Store } from 'n3';
|
|
2
|
-
import { Term } from '@rdfjs/types';
|
|
3
|
-
import { ClassInstanceProvider, Plugins } from './plugin';
|
|
4
|
-
import { Loader } from './loader';
|
|
5
|
-
import { Theme } from './theme';
|
|
6
|
-
export declare class ElementAttributes {
|
|
7
|
-
shapes: string | null;
|
|
8
|
-
shapesUrl: string | null;
|
|
9
|
-
shapeSubject: string | null;
|
|
10
|
-
values: string | null;
|
|
11
|
-
valuesUrl: string | null;
|
|
12
|
-
valueSubject: string | null;
|
|
13
|
-
view: string | null;
|
|
14
|
-
language: string;
|
|
15
|
-
loading: string;
|
|
16
|
-
ignoreOwlImports: string | null;
|
|
17
|
-
collapse: string | null;
|
|
18
|
-
submitButton: string | null;
|
|
19
|
-
}
|
|
20
|
-
export declare class Config {
|
|
21
|
-
attributes: ElementAttributes;
|
|
22
|
-
loader: Loader;
|
|
23
|
-
classInstanceProvider: ClassInstanceProvider | undefined;
|
|
24
|
-
prefixes: Prefixes;
|
|
25
|
-
plugins: Plugins;
|
|
26
|
-
editMode: boolean;
|
|
27
|
-
dataGraph: Store<import("@rdfjs/types").Quad, import("n3").Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>;
|
|
28
|
-
lists: Record<string, Term[]>;
|
|
29
|
-
groups: Array<string>;
|
|
30
|
-
theme: Theme;
|
|
31
|
-
form: HTMLElement;
|
|
32
|
-
private _shapesGraph;
|
|
33
|
-
constructor(theme: Theme, form: HTMLElement);
|
|
34
|
-
updateAttributes(elem: HTMLElement): void;
|
|
35
|
-
static dataAttributes(): Array<string>;
|
|
36
|
-
get shapesGraph(): Store;
|
|
37
|
-
set shapesGraph(graph: Store);
|
|
38
|
-
registerPrefixes(prefixes: Prefixes): void;
|
|
39
|
-
}
|
package/dist/constants.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const PREFIX_SHACL = "http://www.w3.org/ns/shacl#";
|
|
2
|
-
export declare const PREFIX_DASH = "http://datashapes.org/dash#";
|
|
3
|
-
export declare const PREFIX_XSD = "http://www.w3.org/2001/XMLSchema#";
|
|
4
|
-
export declare const PREFIX_RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
|
5
|
-
export declare const PREFIX_RDFS = "http://www.w3.org/2000/01/rdf-schema#";
|
|
6
|
-
export declare const PREFIX_SKOS = "http://www.w3.org/2004/02/skos/core#";
|
|
7
|
-
export declare const PREFIX_OWL = "http://www.w3.org/2002/07/owl#";
|
|
8
|
-
export declare const SHAPES_GRAPH: import("n3").NamedNode<"shapes">;
|
|
9
|
-
export declare const OWL_IMPORTS: import("n3").NamedNode<string>;
|
|
10
|
-
export declare const RDF_PREDICATE_TYPE: import("n3").NamedNode<string>;
|
|
11
|
-
export declare const RDFS_PREDICATE_SUBCLASS_OF: import("n3").NamedNode<string>;
|
|
12
|
-
export declare const SKOS_PREDICATE_BROADER: import("n3").NamedNode<string>;
|
|
13
|
-
export declare const OWL_OBJECT_NAMED_INDIVIDUAL: import("n3").NamedNode<string>;
|
|
14
|
-
export declare const SHACL_OBJECT_NODE_SHAPE: import("n3").NamedNode<string>;
|
|
15
|
-
export declare const SHACL_PREDICATE_CLASS: import("n3").NamedNode<string>;
|
|
16
|
-
export declare const SHACL_PREDICATE_TARGET_CLASS: import("n3").NamedNode<string>;
|
package/dist/constraints.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Term } from '@rdfjs/types';
|
|
2
|
-
import { ShaclNode } from "./node";
|
|
3
|
-
import { ShaclProperty } from "./property";
|
|
4
|
-
import { Config } from './config';
|
|
5
|
-
import { ShaclPropertyTemplate } from './property-template';
|
|
6
|
-
export declare function createShaclOrConstraint(options: Term[], context: ShaclNode | ShaclProperty, config: Config): HTMLElement;
|
|
7
|
-
export declare function resolveShaclOrConstraint(template: ShaclPropertyTemplate, value: Term): ShaclPropertyTemplate;
|
package/dist/exports.d.ts
DELETED