@ulb-darmstadt/shacl-form 1.4.0 → 1.4.1
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 +1 -1
- package/dist/form-default.js +1 -1
- package/dist/form-material.js +31 -30
- package/dist/form-material.js.LICENSE.txt +6 -6
- package/dist/plugins/leaflet.js +1 -1
- package/dist/plugins/mapbox.js +1 -1
- package/dist/theme.d.ts +2 -0
- package/dist/themes/default.d.ts +1 -0
- package/dist/themes/material.d.ts +1 -0
- package/package.json +5 -5
package/dist/theme.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type Editor = HTMLElement & {
|
|
|
5
5
|
value: string;
|
|
6
6
|
type?: string;
|
|
7
7
|
shaclDatatype?: NamedNode<string>;
|
|
8
|
+
binaryData?: string;
|
|
8
9
|
checked?: boolean;
|
|
9
10
|
};
|
|
10
11
|
export type InputListEntry = {
|
|
@@ -22,6 +23,7 @@ export declare abstract class Theme {
|
|
|
22
23
|
abstract createNumberEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
23
24
|
abstract createDateEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
24
25
|
abstract createBooleanEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
26
|
+
abstract createFileEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
25
27
|
abstract createButton(label: string, primary: boolean): HTMLElement;
|
|
26
28
|
}
|
|
27
29
|
export declare function fieldFactory(template: ShaclPropertyTemplate, value: Term | null): HTMLElement;
|
package/dist/themes/default.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class DefaultTheme extends Theme {
|
|
|
9
9
|
createTextEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
10
10
|
createLangStringEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
11
11
|
createBooleanEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
12
|
+
createFileEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
12
13
|
createNumberEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
13
14
|
createListEditor(label: string, value: Term | null, required: boolean, listEntries: InputListEntry[], template?: ShaclPropertyTemplate): HTMLElement;
|
|
14
15
|
createButton(label: string, primary: boolean): HTMLElement;
|
|
@@ -11,5 +11,6 @@ export declare class MaterialTheme extends Theme {
|
|
|
11
11
|
createBooleanEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
12
12
|
createDateEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
13
13
|
createLangStringEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
14
|
+
createFileEditor(label: string, value: Term | null, required: boolean, template: ShaclPropertyTemplate): HTMLElement;
|
|
14
15
|
createButton(label: string, primary: boolean): HTMLElement;
|
|
15
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulb-darmstadt/shacl-form",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "SHACL form generator",
|
|
5
5
|
"main": "dist/form-default.js",
|
|
6
6
|
"module": "dist/form-default.js",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"raw-loader": "^4.0.2",
|
|
43
43
|
"rimraf": "^5.0.1",
|
|
44
44
|
"ts-loader": "^9.5.1",
|
|
45
|
-
"typescript": "^5.4.
|
|
46
|
-
"webpack": "^5.
|
|
45
|
+
"typescript": "^5.4.3",
|
|
46
|
+
"webpack": "^5.91.0",
|
|
47
47
|
"webpack-cli": "^5.1.4",
|
|
48
|
-
"webpack-dev-server": "^5.0.
|
|
48
|
+
"webpack-dev-server": "^5.0.4"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@mapbox/mapbox-gl-draw": "^1.4.3",
|
|
52
|
-
"@material/web": "^1.
|
|
52
|
+
"@material/web": "^1.4.0",
|
|
53
53
|
"bootstrap": "^5.3.3",
|
|
54
54
|
"jsonld": "^8.3.2",
|
|
55
55
|
"leaflet": "^1.9.4",
|