@live-change/frontend-auto-form 0.8.137 → 0.8.138
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/front/src/logic/editorData.js +4 -2
- package/package.json +13 -13
|
@@ -113,7 +113,8 @@ export default function editorData(options) {
|
|
|
113
113
|
savePromise = null
|
|
114
114
|
}
|
|
115
115
|
})()
|
|
116
|
-
if(!autoSave && workingZone)
|
|
116
|
+
if(!autoSave && workingZone)
|
|
117
|
+
workingZone.addPromise('save:'+serviceName+':'+modelName, savePromise.catch(() => {}))
|
|
117
118
|
await savePromise
|
|
118
119
|
}
|
|
119
120
|
|
|
@@ -157,7 +158,8 @@ export default function editorData(options) {
|
|
|
157
158
|
|
|
158
159
|
async function discardDraft() {
|
|
159
160
|
const discardPromise = removeDraftAction(draftIdentifiers)
|
|
160
|
-
if(workingZone)
|
|
161
|
+
if(workingZone)
|
|
162
|
+
workingZone.addPromise('discardDraft:'+serviceName+':'+modelName, discardPromise)
|
|
161
163
|
await discardPromise
|
|
162
164
|
onDraftDiscarded()
|
|
163
165
|
if(toast && discardedDraftToast) toast.add({ severity: 'info', summary: discardedDraftToast, life: 1500 })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-auto-form",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.138",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@fortawesome/fontawesome-free": "^6.5.2",
|
|
25
|
-
"@live-change/cli": "^0.8.
|
|
26
|
-
"@live-change/dao": "^0.8.
|
|
27
|
-
"@live-change/dao-vue3": "^0.8.
|
|
28
|
-
"@live-change/dao-websocket": "^0.8.
|
|
29
|
-
"@live-change/framework": "^0.8.
|
|
30
|
-
"@live-change/image-frontend": "^0.8.
|
|
31
|
-
"@live-change/image-service": "^0.8.
|
|
32
|
-
"@live-change/session-service": "^0.8.
|
|
33
|
-
"@live-change/vue3-components": "^0.8.
|
|
34
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
25
|
+
"@live-change/cli": "^0.8.138",
|
|
26
|
+
"@live-change/dao": "^0.8.138",
|
|
27
|
+
"@live-change/dao-vue3": "^0.8.138",
|
|
28
|
+
"@live-change/dao-websocket": "^0.8.138",
|
|
29
|
+
"@live-change/framework": "^0.8.138",
|
|
30
|
+
"@live-change/image-frontend": "^0.8.138",
|
|
31
|
+
"@live-change/image-service": "^0.8.138",
|
|
32
|
+
"@live-change/session-service": "^0.8.138",
|
|
33
|
+
"@live-change/vue3-components": "^0.8.138",
|
|
34
|
+
"@live-change/vue3-ssr": "^0.8.138",
|
|
35
35
|
"@vueuse/core": "^10.11.0",
|
|
36
36
|
"codeceptjs-assert": "^0.0.5",
|
|
37
37
|
"compression": "^1.7.4",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vue3-scroll-border": "0.1.6"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
55
|
+
"@live-change/codeceptjs-helper": "^0.8.138",
|
|
56
56
|
"codeceptjs": "^3.6.5",
|
|
57
57
|
"generate-password": "1.7.1",
|
|
58
58
|
"playwright": "^1.41.2",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
64
64
|
"license": "ISC",
|
|
65
65
|
"description": "",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "1f054bf57145194109ac510b06faa08af6733e6e"
|
|
67
67
|
}
|