@stonecrop/nuxt 0.58.4 → 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 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, provideHSTPath, handleHSTChange, formData } = useStonecrop({
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
3
  "configKey": "stonecrop",
4
- "version": "0.58.4",
4
+ "version": "0.60.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
- "version": "0.58.4",
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/aform": "0.58.4",
64
- "@stonecrop/atable": "0.58.4",
65
- "@stonecrop/desktop": "0.58.4",
66
- "@stonecrop/casl-middleware": "0.58.4",
67
- "@stonecrop/graphql-middleware": "0.58.4",
68
- "@stonecrop/node-editor": "0.58.4",
69
- "@stonecrop/nuxt-grafserv": "0.58.4",
70
- "@stonecrop/schema": "0.58.4",
71
- "@stonecrop/stonecrop": "0.58.4",
72
- "@stonecrop/code-editor": "0.58.4",
73
- "@stonecrop/themes": "0.58.4",
74
- "@stonecrop/graphql-client": "0.58.4"
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",