svelte-json-schema-form 0.0.1-alpha9 → 0.0.2
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/package.json +2 -2
- package/src/Form.svelte +3 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-json-schema-form",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"vite": "^5.1.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"json-form-core": "0.0.
|
|
36
|
+
"json-form-core": "^0.0.3"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/src/Form.svelte
CHANGED
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
components: {
|
|
38
38
|
...defaultComponents,
|
|
39
39
|
...components
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
|
+
logger: logger
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
// dispatch all events from form controller
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
$: if(logger) {
|
|
61
|
+
console.log("SETTING LOGGER!")
|
|
60
62
|
formController.logger = logger;
|
|
61
63
|
}
|
|
62
64
|
|