@ulb-darmstadt/shacl-form 1.1.0 → 1.1.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/dist/config.d.ts +4 -1
- package/dist/constants.d.ts +0 -9
- package/dist/index-with-plugins.js +1 -1
- package/dist/index-with-plugins.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +2 -2
- package/dist/serialize.d.ts +2 -2
- package/dist/util.d.ts +2 -2
- package/package.json +1 -1
package/dist/loader.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Store, Parser,
|
|
1
|
+
import { Store, Parser, NamedNode } from 'n3';
|
|
2
2
|
import { ShaclForm } from './form';
|
|
3
3
|
export declare class Loader {
|
|
4
4
|
private abortController;
|
|
@@ -7,6 +7,6 @@ export declare class Loader {
|
|
|
7
7
|
loadGraphs(): Promise<void>;
|
|
8
8
|
importRDF(input: string | Promise<string>, store: Store, graph?: NamedNode, parser?: Parser): Promise<void>;
|
|
9
9
|
fetchRDF(url: string): Promise<string>;
|
|
10
|
-
toURL(id: string
|
|
10
|
+
toURL(id: string): string | null;
|
|
11
11
|
isURL(input: string): boolean;
|
|
12
12
|
}
|
package/dist/serialize.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Quad } from 'n3';
|
|
2
|
-
export declare function serialize(quads: Quad[], format: string): string | {}[];
|
|
1
|
+
import { Quad, Prefixes } from 'n3';
|
|
2
|
+
export declare function serialize(quads: Quad[], format: string, prefixes?: Prefixes): string | {}[];
|
package/dist/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Quad, Store } from 'n3';
|
|
1
|
+
import { Prefixes, Quad, Store } from 'n3';
|
|
2
2
|
import { Term } from '@rdfjs/types';
|
|
3
3
|
import { InputListEntry } from './inputs';
|
|
4
4
|
export declare function findObjectValueByPredicate(quads: Quad[], predicate: string, prefix?: string, language?: string | null): string;
|
|
@@ -6,4 +6,4 @@ export declare function findObjectByPredicate(quads: Quad[], predicate: string,
|
|
|
6
6
|
export declare function focusFirstInputElement(context: HTMLElement): void;
|
|
7
7
|
export declare function findLabel(quads: Quad[], language?: string | null): string;
|
|
8
8
|
export declare function createInputListEntries(subjects: Term[], shapesGraph: Store, language?: string | null): InputListEntry[];
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function removePrefixes(id: string, prefixes: Prefixes): string;
|