@ulb-darmstadt/shacl-form 1.9.3 → 1.9.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/form-bootstrap.js +27 -27
- package/dist/form-default.js +36 -36
- package/dist/form-material.js +6 -6
- package/dist/plugins/mapbox.js +213 -107
- package/package.json +4 -4
- package/src/property.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulb-darmstadt/shacl-form",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "SHACL form generator",
|
|
5
5
|
"main": "dist/form-default.js",
|
|
6
6
|
"module": "dist/form-default.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/n3": "^1.26.0",
|
|
55
55
|
"@types/uuid": "^10.0.0",
|
|
56
56
|
"happy-dom": "^18.0.1",
|
|
57
|
-
"jest": "^
|
|
57
|
+
"jest": "^30.0.5",
|
|
58
58
|
"rdf-isomorphic": "^2.0.1",
|
|
59
59
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
60
60
|
"typescript": "^5.8.3",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"leaflet-editable": "^1.3.2",
|
|
71
71
|
"leaflet.fullscreen": "^4.0.0",
|
|
72
72
|
"lit": "^3.3.1",
|
|
73
|
-
"mapbox-gl": "^3.
|
|
73
|
+
"mapbox-gl": "^3.14.0",
|
|
74
74
|
"n3": "^1.26.0",
|
|
75
75
|
"rdfxml-streaming-parser": "^3.1.0",
|
|
76
76
|
"shacl-engine": "^1.0.2",
|
|
77
77
|
"uuid": "^11.1.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@ro-kit/ui-widgets": "^0.0.
|
|
80
|
+
"@ro-kit/ui-widgets": "^0.0.36",
|
|
81
81
|
"mdui": "^2.1.4"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/src/property.ts
CHANGED
|
@@ -135,9 +135,6 @@ export class ShaclProperty extends HTMLElement {
|
|
|
135
135
|
const mayAdd = this.template.maxCount === undefined || instanceCount < this.template.maxCount
|
|
136
136
|
this.classList.toggle('may-remove', mayRemove)
|
|
137
137
|
this.classList.toggle('may-add', mayAdd)
|
|
138
|
-
if (mayAdd && this.addButton?.input) {
|
|
139
|
-
this.addButton.input.updateMinWidth()
|
|
140
|
-
}
|
|
141
138
|
}
|
|
142
139
|
|
|
143
140
|
toRDF(graph: Store, subject: NamedNode | BlankNode) {
|