@ulb-darmstadt/shacl-form 1.3.8 → 1.4.0

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/util.d.ts CHANGED
@@ -5,7 +5,7 @@ import { Config } from './config';
5
5
  export declare function findObjectValueByPredicate(quads: Quad[], predicate: string, prefix?: string, language?: string): string;
6
6
  export declare function findObjectByPredicate(quads: Quad[], predicate: string, prefix?: string, language?: string): Term | undefined;
7
7
  export declare function focusFirstInputElement(context: HTMLElement): void;
8
- export declare function findLabel(quads: Quad[], language: string): string;
8
+ export declare function findLabel(quads: Quad[], language?: string): string;
9
9
  export declare function createInputListEntries(subjects: Term[], shapesGraph: Store, language: string): InputListEntry[];
10
10
  export declare function removePrefixes(id: string, prefixes: Prefixes): string;
11
11
  export declare function findInstancesOf(clazz: NamedNode, config: Config): InputListEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulb-darmstadt/shacl-form",
3
- "version": "1.3.8",
3
+ "version": "1.4.0",
4
4
  "description": "SHACL form generator",
5
5
  "main": "dist/form-default.js",
6
6
  "module": "dist/form-default.js",
@@ -32,6 +32,9 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/jsonld": "^1.5.13",
35
+ "@types/leaflet": "^1.9.8",
36
+ "@types/leaflet-draw": "^1.0.11",
37
+ "@types/leaflet.fullscreen": "^3.0.2",
35
38
  "@types/mapbox__mapbox-gl-draw": "^1.4.6",
36
39
  "@types/n3": "^1.16.4",
37
40
  "@types/rdf-validate-shacl": "^0.4.6",
@@ -39,17 +42,20 @@
39
42
  "raw-loader": "^4.0.2",
40
43
  "rimraf": "^5.0.1",
41
44
  "ts-loader": "^9.5.1",
42
- "typescript": "^5.3.3",
45
+ "typescript": "^5.4.2",
43
46
  "webpack": "^5.90.3",
44
47
  "webpack-cli": "^5.1.4",
45
- "webpack-dev-server": "^5.0.2"
48
+ "webpack-dev-server": "^5.0.3"
46
49
  },
47
50
  "dependencies": {
48
51
  "@mapbox/mapbox-gl-draw": "^1.4.3",
49
52
  "@material/web": "^1.3.0",
50
53
  "bootstrap": "^5.3.3",
51
54
  "jsonld": "^8.3.2",
52
- "mapbox-gl": "^3.1.2",
55
+ "leaflet": "^1.9.4",
56
+ "leaflet-draw": "^1.0.4",
57
+ "leaflet.fullscreen": "^3.0.1",
58
+ "mapbox-gl": "^3.2.0",
53
59
  "n3": "^1.17.2",
54
60
  "rdf-validate-shacl": "^0.5.3",
55
61
  "uuid": "^9.0.1"