@ulb-darmstadt/shacl-form 1.6.0 → 1.6.2
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 +15 -14
- package/dist/exports.d.ts +1 -1
- package/dist/form-bootstrap.js +1 -1
- package/dist/form-default.js +1 -1
- package/dist/form-material.js +7 -358
- package/dist/form-material.js.LICENSE.txt +4 -40
- package/dist/form.d.ts +4 -3
- package/dist/loader.d.ts +1 -0
- package/dist/plugins/leaflet.d.ts +1 -0
- package/dist/plugins/leaflet.js +1 -1
- package/dist/plugins/mapbox.js +1 -1
- package/package.json +12 -13
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @license
|
|
24
|
-
* Copyright
|
|
25
|
-
* SPDX-License-Identifier:
|
|
24
|
+
* Copyright 2014 Travis Webb
|
|
25
|
+
* SPDX-License-Identifier: MIT
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
|
-
* Copyright
|
|
31
|
-
* SPDX-License-Identifier:
|
|
30
|
+
* Copyright 2017 Google LLC
|
|
31
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -37,54 +37,18 @@
|
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
/**
|
|
41
|
-
* @license
|
|
42
|
-
* Copyright 2019 Google LLC
|
|
43
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
40
|
/**
|
|
47
41
|
* @license
|
|
48
42
|
* Copyright 2020 Google LLC
|
|
49
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
44
|
*/
|
|
51
45
|
|
|
52
|
-
/**
|
|
53
|
-
* @license
|
|
54
|
-
* Copyright 2021 Google LLC
|
|
55
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
56
|
-
*/
|
|
57
|
-
|
|
58
46
|
/**
|
|
59
47
|
* @license
|
|
60
48
|
* Copyright 2021 Google LLC
|
|
61
49
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
50
|
*/
|
|
63
51
|
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2022 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @license
|
|
72
|
-
* Copyright 2022 Google LLC
|
|
73
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
|
-
*/
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @license
|
|
78
|
-
* Copyright 2023 Google LLC
|
|
79
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @license
|
|
84
|
-
* Copyright 2024 Google LLC
|
|
85
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
52
|
/**
|
|
89
53
|
* A JavaScript implementation of the JSON-LD API.
|
|
90
54
|
*
|
package/dist/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShaclNode } from './node';
|
|
2
2
|
import { Config } from './config';
|
|
3
3
|
import { ClassInstanceProvider, Plugin } from './plugin';
|
|
4
|
-
import {
|
|
4
|
+
import { Store } from 'n3';
|
|
5
5
|
import { Theme } from './theme';
|
|
6
6
|
export declare class ShaclForm extends HTMLElement {
|
|
7
7
|
static get observedAttributes(): string[];
|
|
@@ -13,10 +13,11 @@ export declare class ShaclForm extends HTMLElement {
|
|
|
13
13
|
connectedCallback(): void;
|
|
14
14
|
attributeChangedCallback(): void;
|
|
15
15
|
private initialize;
|
|
16
|
-
serialize(format?: string, graph?: Store<import("@rdfjs/types").Quad, Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): string;
|
|
17
|
-
toRDF(graph?: Store<import("@rdfjs/types").Quad, Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): Store;
|
|
16
|
+
serialize(format?: string, graph?: Store<import("@rdfjs/types").Quad, import("n3").Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): string;
|
|
17
|
+
toRDF(graph?: Store<import("@rdfjs/types").Quad, import("n3").Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): Store;
|
|
18
18
|
registerPlugin(plugin: Plugin): void;
|
|
19
19
|
setTheme(theme: Theme): void;
|
|
20
|
+
setSharedShapesGraph(graph: Store): void;
|
|
20
21
|
setClassInstanceProvider(provider: ClassInstanceProvider): void;
|
|
21
22
|
validate(ignoreEmptyValues?: boolean): Promise<boolean>;
|
|
22
23
|
private createValidationErrorDisplay;
|
package/dist/loader.d.ts
CHANGED
|
@@ -16,4 +16,5 @@ export declare class LeafletPlugin extends Plugin {
|
|
|
16
16
|
createEditor(template: ShaclPropertyTemplate, value?: Term): HTMLElement;
|
|
17
17
|
createViewer(template: ShaclPropertyTemplate, value: Term): HTMLElement;
|
|
18
18
|
drawAndZoomToGeometry(geometry: Geometry | undefined, map: L.Map): void;
|
|
19
|
+
saveChanges(): void;
|
|
19
20
|
}
|