@live-change/frontend-auto-form 0.9.207 → 0.9.208
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 +5 -2
- package/package.json +13 -13
|
@@ -50,6 +50,9 @@ export default function editorData(options) {
|
|
|
50
50
|
api = useApi(options.appContext || getCurrentInstance().appContext),
|
|
51
51
|
workingZone = inject('workingZone'),
|
|
52
52
|
|
|
53
|
+
extendDraftPath = x => x,
|
|
54
|
+
extendSavedPath = x => x,
|
|
55
|
+
|
|
53
56
|
initialData = {},
|
|
54
57
|
} = options
|
|
55
58
|
|
|
@@ -92,9 +95,9 @@ export default function editorData(options) {
|
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
const savedDataPath = (Object.keys(identifiers).length > 0 || allowReadWithoutIdentifiers)
|
|
95
|
-
? path[serviceName][crudMethods.read](identifiers)
|
|
98
|
+
? extendSavedPath(path[serviceName][crudMethods.read](identifiers), path)
|
|
96
99
|
: null
|
|
97
|
-
const draftDataPath = (draft && path.draft.myDraft(draftIdentifiers)) || null
|
|
100
|
+
const draftDataPath = (draft && extendDraftPath(path.draft.myDraft(draftIdentifiers), path)) || null
|
|
98
101
|
|
|
99
102
|
const updateAction = api.actions[serviceName][crudMethods.update]
|
|
100
103
|
const createOrUpdateAction = api.actions[serviceName][crudMethods.createOrUpdate]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-auto-form",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.208",
|
|
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.7.2",
|
|
25
|
-
"@live-change/cli": "^0.9.
|
|
26
|
-
"@live-change/dao": "^0.9.
|
|
27
|
-
"@live-change/dao-vue3": "^0.9.
|
|
28
|
-
"@live-change/dao-websocket": "^0.9.
|
|
29
|
-
"@live-change/framework": "^0.9.
|
|
30
|
-
"@live-change/image-frontend": "^0.9.
|
|
31
|
-
"@live-change/image-service": "^0.9.
|
|
32
|
-
"@live-change/session-service": "^0.9.
|
|
33
|
-
"@live-change/vue3-components": "^0.9.
|
|
34
|
-
"@live-change/vue3-ssr": "^0.9.
|
|
25
|
+
"@live-change/cli": "^0.9.208",
|
|
26
|
+
"@live-change/dao": "^0.9.208",
|
|
27
|
+
"@live-change/dao-vue3": "^0.9.208",
|
|
28
|
+
"@live-change/dao-websocket": "^0.9.208",
|
|
29
|
+
"@live-change/framework": "^0.9.208",
|
|
30
|
+
"@live-change/image-frontend": "^0.9.208",
|
|
31
|
+
"@live-change/image-service": "^0.9.208",
|
|
32
|
+
"@live-change/session-service": "^0.9.208",
|
|
33
|
+
"@live-change/vue3-components": "^0.9.208",
|
|
34
|
+
"@live-change/vue3-ssr": "^0.9.208",
|
|
35
35
|
"@vueuse/core": "^12.3.0",
|
|
36
36
|
"codeceptjs-assert": "^0.0.5",
|
|
37
37
|
"compression": "^1.7.5",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vue3-scroll-border": "0.1.7"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@live-change/codeceptjs-helper": "^0.9.
|
|
55
|
+
"@live-change/codeceptjs-helper": "^0.9.208",
|
|
56
56
|
"codeceptjs": "^3.7.6",
|
|
57
57
|
"generate-password": "^1.7.1",
|
|
58
58
|
"playwright": "=1.50.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
64
64
|
"license": "ISC",
|
|
65
65
|
"description": "",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "8818bbf0c3db428fec1f578f615e00232d3f895f"
|
|
67
67
|
}
|