@live-change/frontend-auto-form 0.9.159 → 0.9.161
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/components/form/AutoEditor.vue +7 -5
- package/index.js +2 -0
- package/package.json +13 -13
|
@@ -50,11 +50,13 @@
|
|
|
50
50
|
|
|
51
51
|
const emit = defineEmits(['update:modelValue'])
|
|
52
52
|
|
|
53
|
-
const propertiesList = computed(() =>
|
|
54
|
-
editableProperties.value
|
|
55
|
-
props.definition.editableProperties
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
const propertiesList = computed(() => {
|
|
54
|
+
if(editableProperties.value) return editableProperties.value
|
|
55
|
+
if(props.definition.editableProperties) return props.definition.editableProperties
|
|
56
|
+
if(!props.definition) return []
|
|
57
|
+
if(!props.definition.properties) return []
|
|
58
|
+
return Object.keys(props.definition.properties).filter(key => props.definition.properties[key])
|
|
59
|
+
})
|
|
58
60
|
|
|
59
61
|
function updateModelProperty(property, value) {
|
|
60
62
|
const data = modelValue.value || {}
|
package/index.js
CHANGED
|
@@ -42,6 +42,8 @@ import ObjectPath from './front/src/components/crud/ObjectPath.vue'
|
|
|
42
42
|
export { ObjectPath }
|
|
43
43
|
import AutoObjectIdentification from './front/src/components/crud/AutoObjectIdentification.vue'
|
|
44
44
|
export { AutoObjectIdentification }
|
|
45
|
+
import ActionForm from './front/src/components/crud/ActionForm.vue'
|
|
46
|
+
export { ActionForm }
|
|
45
47
|
|
|
46
48
|
export * from './front/src/router.js'
|
|
47
49
|
|
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.161",
|
|
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.161",
|
|
26
|
+
"@live-change/dao": "^0.9.161",
|
|
27
|
+
"@live-change/dao-vue3": "^0.9.161",
|
|
28
|
+
"@live-change/dao-websocket": "^0.9.161",
|
|
29
|
+
"@live-change/framework": "^0.9.161",
|
|
30
|
+
"@live-change/image-frontend": "^0.9.161",
|
|
31
|
+
"@live-change/image-service": "^0.9.161",
|
|
32
|
+
"@live-change/session-service": "^0.9.161",
|
|
33
|
+
"@live-change/vue3-components": "^0.9.161",
|
|
34
|
+
"@live-change/vue3-ssr": "^0.9.161",
|
|
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.161",
|
|
56
56
|
"codeceptjs": "^3.6.10",
|
|
57
57
|
"generate-password": "1.7.1",
|
|
58
58
|
"playwright": "1.49.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
64
64
|
"license": "ISC",
|
|
65
65
|
"description": "",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "1361610ea2c25bfecff4ec102cde2fd2aecbdb53"
|
|
67
67
|
}
|