@stonecrop/nuxt 0.59.0 → 0.60.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/README.md +3 -7
- package/dist/module.json +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ In your page or component:
|
|
|
136
136
|
import taskDoctype from '~/doctypes/task.json'
|
|
137
137
|
|
|
138
138
|
// HST-reactive form setup — pass doctype + recordId for full integration
|
|
139
|
-
const { stonecrop,
|
|
139
|
+
const { stonecrop, formData } = useStonecrop({
|
|
140
140
|
doctype: taskDoctype,
|
|
141
141
|
recordId: 'task-123' // or undefined for new records
|
|
142
142
|
})
|
|
@@ -147,11 +147,7 @@ const taskTitle = store?.get('task.task-123.title')
|
|
|
147
147
|
</script>
|
|
148
148
|
|
|
149
149
|
<template>
|
|
150
|
-
<AForm
|
|
151
|
-
:schema="taskDoctype.fields"
|
|
152
|
-
:data="formData"
|
|
153
|
-
@update="handleHSTChange"
|
|
154
|
-
/>
|
|
150
|
+
<AForm :schema="taskDoctype.fields" v-model:data="formData" />
|
|
155
151
|
</template>
|
|
156
152
|
```
|
|
157
153
|
|
|
@@ -184,7 +180,7 @@ const validate = () => {
|
|
|
184
180
|
```vue
|
|
185
181
|
<!-- Schema generates form automatically -->
|
|
186
182
|
<template>
|
|
187
|
-
<AForm :schema="taskSchema" :data="formData" />
|
|
183
|
+
<AForm :schema="taskSchema" v-model:data="formData" />
|
|
188
184
|
</template>
|
|
189
185
|
|
|
190
186
|
<script setup>
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "Nuxt module for Stonecrop",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nuxt",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"pathe": "^2.0.3",
|
|
61
61
|
"pinia": "^3.0.4",
|
|
62
62
|
"prompts": "^2.4.2",
|
|
63
|
-
"@stonecrop/
|
|
64
|
-
"@stonecrop/
|
|
65
|
-
"@stonecrop/
|
|
66
|
-
"@stonecrop/
|
|
67
|
-
"@stonecrop/
|
|
68
|
-
"@stonecrop/
|
|
69
|
-
"@stonecrop/
|
|
70
|
-
"@stonecrop/
|
|
71
|
-
"@stonecrop/
|
|
72
|
-
"@stonecrop/
|
|
73
|
-
"@stonecrop/
|
|
74
|
-
"@stonecrop/
|
|
63
|
+
"@stonecrop/aform": "0.60.0",
|
|
64
|
+
"@stonecrop/casl-middleware": "0.60.0",
|
|
65
|
+
"@stonecrop/atable": "0.60.0",
|
|
66
|
+
"@stonecrop/code-editor": "0.60.0",
|
|
67
|
+
"@stonecrop/graphql-client": "0.60.0",
|
|
68
|
+
"@stonecrop/graphql-middleware": "0.60.0",
|
|
69
|
+
"@stonecrop/node-editor": "0.60.0",
|
|
70
|
+
"@stonecrop/schema": "0.60.0",
|
|
71
|
+
"@stonecrop/nuxt-grafserv": "0.60.0",
|
|
72
|
+
"@stonecrop/stonecrop": "0.60.0",
|
|
73
|
+
"@stonecrop/themes": "0.60.0",
|
|
74
|
+
"@stonecrop/desktop": "0.60.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@eslint/js": "^10.0.1",
|