comand-component-library 4.2.73 → 4.2.75
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/dist/comand-component-library.js +535 -483
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/ComponentLibrary.vue +6 -1
- package/src/assets/data/form-elements.json +6 -7
- package/src/components/CmdForm.vue +32 -2
- package/src/components/CmdGoogleMaps.vue +2 -1
- package/src/components/CmdMultistepFormWrapper.vue +9 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<!-- end CmdHeadline-->
|
|
7
7
|
|
|
8
8
|
<!-- begin CmdSystemMessage -->
|
|
9
|
-
<CmdSystemMessage v-if="!cookiesAccepted" validationStatus="warning" textAlign="center">
|
|
9
|
+
<CmdSystemMessage v-if="!cookiesAccepted" validationStatus="warning" textAlign="center" :iconClose="{show: false}">
|
|
10
10
|
<p>
|
|
11
11
|
{{getMessage("google_maps.system_message.accept_terms")}}
|
|
12
12
|
</p>
|
|
@@ -121,6 +121,7 @@ export default {
|
|
|
121
121
|
border-top-left-radius: 0;
|
|
122
122
|
border-top-right-radius: 0;
|
|
123
123
|
height: 100%;
|
|
124
|
+
justify-content: center;
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
/* end cmd-google-maps ------------------------------------------------------------------------------------------ */
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
:setErrorOnPage="(message) => setErrorOnPage(page, message)"
|
|
23
23
|
:removeErrorOnPage="() => removeErrorOnPage(page)"
|
|
24
24
|
:atleastOnePageWithError="atleastOnePageWithError"
|
|
25
|
+
:formDataForPage="formDataForPage(page)"
|
|
25
26
|
/>
|
|
26
27
|
<!-- end slot for page content -->
|
|
27
28
|
</div>
|
|
@@ -54,7 +55,8 @@ export default {
|
|
|
54
55
|
return {
|
|
55
56
|
currentPage: 1,
|
|
56
57
|
statusForPages: [],
|
|
57
|
-
inputMade: false
|
|
58
|
+
inputMade: false,
|
|
59
|
+
formData: {}
|
|
58
60
|
}
|
|
59
61
|
},
|
|
60
62
|
props: {
|
|
@@ -103,6 +105,12 @@ export default {
|
|
|
103
105
|
}
|
|
104
106
|
},
|
|
105
107
|
methods: {
|
|
108
|
+
formDataForPage(page) {
|
|
109
|
+
if(!this.formData[page]) {
|
|
110
|
+
this.formData[page] = {}
|
|
111
|
+
}
|
|
112
|
+
return this.formData[page]
|
|
113
|
+
},
|
|
106
114
|
getSystemMessage(page) {
|
|
107
115
|
const pageEntry = this.statusForPages.find(item => item.page === page);
|
|
108
116
|
return pageEntry.message
|