@ulb-darmstadt/shacl-form 1.0.13 → 1.0.15

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
@@ -2,7 +2,6 @@ import { Store } from 'n3';
2
2
  import { Term } from '@rdfjs/types';
3
3
  import { Theme } from './theme';
4
4
  export declare class Config {
5
- static abortController: AbortController;
6
5
  shapes: string | null;
7
6
  shapesUrl: string | null;
8
7
  shapeSubject: string | null;
@@ -11,15 +10,15 @@ export declare class Config {
11
10
  valueSubject: string | null;
12
11
  language: string | null;
13
12
  addEmptyElementToLists: string | null;
13
+ loadOwlImports: string;
14
14
  private _theme;
15
- private _shapesGraph;
16
- private _valuesGraph;
17
15
  private _lists;
18
16
  private _groups;
17
+ private _graph;
18
+ private _valuesGraph;
19
19
  equals(other: Config): boolean;
20
- loadGraphs(): Promise<void>;
21
- get shapesGraph(): Store;
22
- set shapesGraph(graph: Store);
20
+ get graph(): Store;
21
+ set graph(graph: Store);
23
22
  get valuesGraph(): Store;
24
23
  set valuesGraph(graph: Store);
25
24
  get lists(): Record<string, Term[]>;
@@ -1,11 +1,16 @@
1
+ import { NamedNode } from "n3";
1
2
  export declare const PREFIX_SHACL = "http://www.w3.org/ns/shacl#";
2
3
  export declare const PREFIX_DASH = "http://datashapes.org/dash#";
3
4
  export declare const PREFIX_XSD = "http://www.w3.org/2001/XMLSchema#";
4
5
  export declare const PREFIX_RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
5
6
  export declare const PREFIX_RDFS = "http://www.w3.org/2000/01/rdf-schema#";
6
7
  export declare const PREFIX_SCHEMA = "http://schema.org/";
8
+ export declare const PREFIX_SKOS = "http://www.w3.org/2004/02/skos/core#";
9
+ export declare const PREFIX_OWL = "http://www.w3.org/2002/07/owl#";
7
10
  export declare const DEFAULT_PREFIXES: {
8
11
  xsd: string;
9
12
  rdf: string;
10
13
  schema: string;
11
14
  };
15
+ export declare const SHAPES_GRAPH: NamedNode;
16
+ export declare const OWL_IMPORTS: NamedNode;
package/dist/form.d.ts CHANGED
@@ -3,9 +3,11 @@ import { Config } from './config';
3
3
  import { Plugin, Plugins } from './plugin';
4
4
  import { Quad } from 'n3';
5
5
  import './styles.css';
6
+ import { Loader } from './loader';
6
7
  export declare class ShaclForm extends HTMLElement {
7
8
  static get observedAttributes(): string[];
8
9
  config: Config;
10
+ loader: Loader;
9
11
  shape: ShaclNode | null;
10
12
  form: HTMLFormElement;
11
13
  plugins: Plugins;