@ulb-darmstadt/shacl-form 1.6.1 → 1.6.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.
@@ -19,72 +19,6 @@
19
19
 
20
20
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
21
21
 
22
- /**
23
- * @license
24
- * Copyright 2017 Google LLC
25
- * SPDX-License-Identifier: BSD-3-Clause
26
- */
27
-
28
- /**
29
- * @license
30
- * Copyright 2018 Google LLC
31
- * SPDX-License-Identifier: Apache-2.0
32
- */
33
-
34
- /**
35
- * @license
36
- * Copyright 2018 Google LLC
37
- * SPDX-License-Identifier: BSD-3-Clause
38
- */
39
-
40
- /**
41
- * @license
42
- * Copyright 2019 Google LLC
43
- * SPDX-License-Identifier: Apache-2.0
44
- */
45
-
46
- /**
47
- * @license
48
- * Copyright 2020 Google LLC
49
- * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
-
52
- /**
53
- * @license
54
- * Copyright 2021 Google LLC
55
- * SPDX-License-Identifier: Apache-2.0
56
- */
57
-
58
- /**
59
- * @license
60
- * Copyright 2021 Google LLC
61
- * SPDX-License-Identifier: BSD-3-Clause
62
- */
63
-
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
22
  /**
89
23
  * A JavaScript implementation of the JSON-LD API.
90
24
  *
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 { Quad, Store } from 'n3';
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
@@ -10,3 +10,4 @@ export declare class Loader {
10
10
  fetchRDF(url: string): Promise<string>;
11
11
  toURL(id: string): string | null;
12
12
  }
13
+ export declare function setSharedShapesGraph(graph: Store): void;