comand-component-library 4.1.34 → 4.1.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +26879 -20542
- package/package.json +1 -1
- package/src/ComponentLibrary.vue +1 -4
- package/src/components/CmdBasicForm.vue +3 -3
- package/src/components/CmdForm.vue +2 -2
- package/src/mixins/CmdBasicForm/DefaultMessageProperties.js +3 -1
- package/src/mixins/CmdSlideButton/DefaultMessageProperties.js +2 -2
package/package.json
CHANGED
package/src/ComponentLibrary.vue
CHANGED
@@ -2169,14 +2169,11 @@ import {localizedTime} from "./components/CmdOpeningHours.vue"
|
|
2169
2169
|
// import data and controls for settings
|
2170
2170
|
import componentSettingsDataAndControls from "@/componentSettingsDataAndControls.vue"
|
2171
2171
|
|
2172
|
-
import CmdHeadline from "./components/CmdHeadline.vue"
|
2173
|
-
|
2174
2172
|
export default {
|
2175
2173
|
name: "App",
|
2176
2174
|
mixins: [componentSettingsDataAndControls],
|
2177
2175
|
components: {
|
2178
|
-
PageOverview
|
2179
|
-
CmdHeadline
|
2176
|
+
PageOverview
|
2180
2177
|
},
|
2181
2178
|
props: {
|
2182
2179
|
useRouterLinks: {
|
@@ -499,13 +499,13 @@ export default {
|
|
499
499
|
|
500
500
|
fetch(this.formAction, {method: this.cmdForm?.formMethod || "POST", body: customSubmitFormData}).then((response) => {
|
501
501
|
if(response.ok) {
|
502
|
-
this.$refs.form.showMessage("success", "
|
502
|
+
this.$refs.form.showMessage("success", this.getMessage("basic_form.system_message.success.message_sent_successfully"))
|
503
503
|
|
504
504
|
} else {
|
505
|
-
this.$refs.form.showMessage("error", "
|
505
|
+
this.$refs.form.showMessage("error", this.getMessage("basic_form.system_message.error.message_could_not_be_sent"))
|
506
506
|
}
|
507
507
|
}).catch((error) => {
|
508
|
-
this.$refs.form.showMessage("error", "
|
508
|
+
this.$refs.form.showMessage("error", this.getMessage("basic_form.system_message.error.message_could_not_be_sent"))
|
509
509
|
console.error(error)
|
510
510
|
})
|
511
511
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<!-- begin submit-button (inside fieldset) -->
|
41
41
|
<button
|
42
42
|
v-if="submitButtonOptions && (submitButtonOptions.position === 'insideFieldset' || submitButtonOptions.position === null) "
|
43
|
-
:class="['button', {primary: submitButtonOptions.primary}]"
|
43
|
+
:class="['button stretch-on-small-devices', {primary: submitButtonOptions.primary}]"
|
44
44
|
:type="submitButtonOptions.type"
|
45
45
|
>
|
46
46
|
<span v-if="submitButtonOptions.iconClass" :class="submitButtonOptions.iconClass"></span>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
|
52
52
|
<div v-if="submitButtonOptions && submitButtonOptions.position === 'belowFieldset'" class="button-wrapper">
|
53
53
|
<!-- begin submit-button (below fieldset) -->
|
54
|
-
<button :class="['button', {primary: submitButtonOptions.primary}]"
|
54
|
+
<button :class="['button stretch-on-small-devices', {primary: submitButtonOptions.primary}]"
|
55
55
|
:type="submitButtonOptions.type || 'submit'">
|
56
56
|
<span v-if="submitButtonOptions.iconClass" :class="submitButtonOptions.iconClass"></span>
|
57
57
|
<span v-if="submitButtonOptions.text">{{ submitButtonOptions.text }}</span>
|
@@ -27,7 +27,9 @@ export default {
|
|
27
27
|
"basic_form.labeltext.user_message": "Your message:",
|
28
28
|
"basic_form.placeholder.user_message": "Your message",
|
29
29
|
"basic_form.text.characters_left": "Characters left",
|
30
|
-
"basic_form.labeltext.data_privacy": "I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."
|
30
|
+
"basic_form.labeltext.data_privacy": "I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>.",
|
31
|
+
"basic_form.system_message.success.message_sent_successfully": "Message sent successfully!",
|
32
|
+
"basic_form.system_message.error.message_could_not_be_sent": "Message could not be sent!"
|
31
33
|
}
|
32
34
|
}
|
33
35
|
}
|
@@ -2,8 +2,8 @@ export default {
|
|
2
2
|
data() {
|
3
3
|
return {
|
4
4
|
defaultMessageProperties: {
|
5
|
-
"slide_buttons.tooltip.left": "
|
6
|
-
"slide_buttons.tooltip.right": "
|
5
|
+
"slide_buttons.tooltip.left": "left",
|
6
|
+
"slide_buttons.tooltip.right": "right",
|
7
7
|
"slide_buttons.tooltip.up": "Previous",
|
8
8
|
"slide_buttons.tooltip.down": "Next"
|
9
9
|
}
|