@ulb-darmstadt/shacl-form 1.1.3 → 1.1.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Prefixes, Store } from 'n3';
2
2
  import { Term } from '@rdfjs/types';
3
- import { ClassInstanceLoader, ClassInstanceProvider, Plugins } from './plugin';
3
+ import { ClassInstanceProvider, Plugins } from './plugin';
4
4
  import { Loader } from './loader';
5
5
  export declare class ElementAttributes {
6
6
  shapes: string | null;
@@ -16,7 +16,7 @@ export declare class ElementAttributes {
16
16
  export declare class Config {
17
17
  attributes: ElementAttributes;
18
18
  loader: Loader;
19
- classInstanceLoader: ClassInstanceLoader | undefined;
19
+ classInstanceProvider: ClassInstanceProvider | undefined;
20
20
  prefixes: Prefixes;
21
21
  plugins: Plugins;
22
22
  dataGraph: Store<import("@rdfjs/types").Quad, import("n3").Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>;
@@ -28,5 +28,4 @@ export declare class Config {
28
28
  get shapesGraph(): Store;
29
29
  set shapesGraph(graph: Store);
30
30
  registerPrefixes(prefixes: Prefixes): void;
31
- set classInstanceProvider(provider: ClassInstanceProvider | undefined);
32
31
  }
@@ -10,3 +10,4 @@ export declare const OWL_IMPORTS: import("n3").NamedNode<string>;
10
10
  export declare const RDF_PREDICATE_TYPE: import("n3").NamedNode<string>;
11
11
  export declare const RDFS_PREDICATE_SUBCLASS_OF: import("n3").NamedNode<string>;
12
12
  export declare const SHACL_OBJECT_NODE_SHAPE: import("n3").NamedNode<string>;
13
+ export declare const SHACL_PREDICATE_CLASS: import("n3").NamedNode<string>;
package/dist/editors.d.ts CHANGED
@@ -14,6 +14,6 @@ export type InputListEntry = {
14
14
  value: Term;
15
15
  label?: string;
16
16
  };
17
- export declare function createListEditor(template: ShaclPropertyTemplate, listEntries: InputListEntry[] | Promise<InputListEntry[]>, value?: Term): HTMLElement;
17
+ export declare function createListEditor(template: ShaclPropertyTemplate, listEntries: InputListEntry[], value?: Term): HTMLElement;
18
18
  export declare function toRDF(editor: Editor): Literal | NamedNode | undefined;
19
19
  export declare function editorFactory(template: ShaclPropertyTemplate, value?: Term): HTMLElement;