@ulb-darmstadt/shacl-form 1.10.4 → 2.0.0-rc2
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/bundle.d.ts +3 -0
- package/dist/bundle.js +415 -0
- package/dist/constants.d.ts +16 -16
- package/dist/constraints.d.ts +2 -2
- package/dist/form.d.ts +4 -3
- package/dist/index.js +62 -0
- package/dist/plugins/assets/plugin-VN3CfgGe.js +1 -0
- package/dist/plugins/file-upload.js +1 -0
- package/dist/plugins/leaflet.d.ts +8 -2
- package/dist/plugins/leaflet.js +5 -708
- package/dist/{themes/default.d.ts → theme.default.d.ts} +2 -2
- package/package.json +20 -26
- package/dist/form-bootstrap.d.ts +0 -5
- package/dist/form-bootstrap.js +0 -413
- package/dist/form-default.d.ts +0 -5
- package/dist/form-default.js +0 -402
- package/dist/form-material.d.ts +0 -5
- package/dist/form-material.js +0 -722
- package/dist/plugins/fixed-list.d.ts +0 -9
- package/dist/plugins/map-util.d.ts +0 -5
- package/dist/plugins/mapbox.d.ts +0 -19
- package/dist/plugins/mapbox.js +0 -2904
- package/dist/themes/bootstrap.d.ts +0 -10
- package/dist/themes/material.d.ts +0 -15
- package/src/config.ts +0 -110
- package/src/constants.ts +0 -30
- package/src/constraints.ts +0 -149
- package/src/exports.ts +0 -7
- package/src/form-bootstrap.ts +0 -12
- package/src/form-default.ts +0 -12
- package/src/form-material.ts +0 -12
- package/src/form.ts +0 -319
- package/src/globals.d.ts +0 -2
- package/src/group.ts +0 -34
- package/src/loader.ts +0 -187
- package/src/node.ts +0 -192
- package/src/plugin.ts +0 -60
- package/src/plugins/file-upload.ts +0 -26
- package/src/plugins/fixed-list.ts +0 -19
- package/src/plugins/leaflet.ts +0 -196
- package/src/plugins/map-util.ts +0 -41
- package/src/plugins/mapbox.ts +0 -157
- package/src/property-template.ts +0 -151
- package/src/property.ts +0 -309
- package/src/serialize.ts +0 -96
- package/src/shacl-engine.d.ts +0 -2
- package/src/styles.css +0 -49
- package/src/theme.ts +0 -132
- package/src/themes/bootstrap.css +0 -6
- package/src/themes/bootstrap.ts +0 -44
- package/src/themes/default.css +0 -4
- package/src/themes/default.ts +0 -258
- package/src/themes/material.css +0 -14
- package/src/themes/material.ts +0 -253
- package/src/util.ts +0 -275
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Term } from '@rdfjs/types';
|
|
2
|
-
import { ShaclPropertyTemplate } from
|
|
3
|
-
import { Editor, InputListEntry, Theme } from
|
|
2
|
+
import { ShaclPropertyTemplate } from "./property-template";
|
|
3
|
+
import { Editor, InputListEntry, Theme } from "./theme";
|
|
4
4
|
export declare class DefaultTheme extends Theme {
|
|
5
5
|
idCtr: number;
|
|
6
6
|
constructor(overiddenCss?: string);
|
package/package.json
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulb-darmstadt/shacl-form",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc2",
|
|
4
4
|
"description": "SHACL form generator",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
7
|
-
"types": "dist/form
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/form.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"import": "./dist/
|
|
12
|
-
"types": "./dist/form
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/form.d.ts"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
15
|
-
"./plugins/*.ts": "./src/plugins/*.ts"
|
|
14
|
+
"./plugins/*": "./dist/plugins/*"
|
|
16
15
|
},
|
|
17
16
|
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
"src"
|
|
17
|
+
"dist"
|
|
20
18
|
],
|
|
21
19
|
"repository": {
|
|
22
20
|
"type": "git",
|
|
@@ -36,14 +34,14 @@
|
|
|
36
34
|
],
|
|
37
35
|
"scripts": {
|
|
38
36
|
"dev": "vite serve ./demo --host",
|
|
39
|
-
"build": "
|
|
37
|
+
"build": "npm run clean && tsc && npm run build-lib && npm run build-bundle && npm run build-plugins",
|
|
40
38
|
"preview": "vite preview",
|
|
41
39
|
"test": "echo \"no tests specified\" && exit 0",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"build-
|
|
45
|
-
"build-
|
|
46
|
-
"build-
|
|
40
|
+
"future-test": "web-test-runner --config test/web-test-runner.config.mjs",
|
|
41
|
+
"clean": "rimraf dist",
|
|
42
|
+
"build-lib": "vite build -c ./vite.config.ts",
|
|
43
|
+
"build-bundle": "vite build -c ./vite.config.bundle.ts",
|
|
44
|
+
"build-plugins": "vite build -c ./vite.config.plugins.ts"
|
|
47
45
|
},
|
|
48
46
|
"devDependencies": {
|
|
49
47
|
"@open-wc/testing": "^4.0.0",
|
|
@@ -52,33 +50,29 @@
|
|
|
52
50
|
"@types/leaflet-editable": "^1.2.7",
|
|
53
51
|
"@types/leaflet.fullscreen": "^3.0.3",
|
|
54
52
|
"@types/mapbox__mapbox-gl-draw": "^1.4.9",
|
|
53
|
+
"@types/mocha": "^10.0.10",
|
|
55
54
|
"@types/n3": "^1.26.0",
|
|
56
55
|
"@types/uuid": "^10.0.0",
|
|
57
56
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
58
57
|
"@web/test-runner": "^0.20.2",
|
|
58
|
+
"glob": "^11.0.3",
|
|
59
59
|
"rdf-isomorphic": "^2.0.1",
|
|
60
|
+
"rimraf": "^6.0.1",
|
|
60
61
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
61
62
|
"typescript": "^5.9.2",
|
|
62
63
|
"vite": "^7.1.5",
|
|
63
|
-
"vite-plugin-dts": "^4.5.4",
|
|
64
64
|
"vitest": "^3.2.4"
|
|
65
65
|
},
|
|
66
|
-
"
|
|
67
|
-
"@
|
|
68
|
-
"bootstrap": "^5.3.8",
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@ro-kit/ui-widgets": "^0.0.45",
|
|
69
68
|
"jsonld": "^8.3.3",
|
|
70
69
|
"leaflet": "^1.9.4",
|
|
71
70
|
"leaflet-editable": "^1.3.2",
|
|
72
71
|
"leaflet.fullscreen": "^4.0.0",
|
|
73
|
-
"
|
|
72
|
+
"lit": "^3.3.1",
|
|
74
73
|
"n3": "^1.26.0",
|
|
75
74
|
"rdfxml-streaming-parser": "^3.1.0",
|
|
76
75
|
"shacl-engine": "^1.0.2",
|
|
77
76
|
"uuid": "^13.0.0"
|
|
78
|
-
},
|
|
79
|
-
"peerDependencies": {
|
|
80
|
-
"@ro-kit/ui-widgets": "^0.0.44",
|
|
81
|
-
"lit": "^3.3.1",
|
|
82
|
-
"mdui": "^2.1.4"
|
|
83
77
|
}
|
|
84
78
|
}
|