comand-component-library 4.0.58 → 4.0.59

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.0.58",
3
+ "version": "4.0.59",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",
@@ -1745,8 +1745,7 @@
1745
1745
  </h2>
1746
1746
  <CmdSocialNetworks
1747
1747
  ref="CmdSocialNetworks"
1748
- v-bind="cmdSocialNetworksSettingsData"
1749
- :networks="socialNetworksData.networks"
1748
+ v-bind="{...cmdSocialNetworksSettingsData, ...socialNetworksData}"
1750
1749
  />
1751
1750
  </CmdWidthLimitationWrapper>
1752
1751
  <!-- end social-networks ------------------------------------------------------------------------------------------------------------------------------------------------------->
@@ -1,4 +1,9 @@
1
1
  {
2
+ "cmdFormElement": {
3
+ "toggleSwitch": true,
4
+ "labelText": "I accept that anonymous data will be send to the platform I share this page on and accept the <a href='/content/data-privacy-en.html' class='fancybox'>Data Privacy</a>!",
5
+ "required": true
6
+ },
2
7
  "networks": [
3
8
  {
4
9
  "id": "social-network-facebook",
@@ -129,10 +129,14 @@
129
129
  />
130
130
  <span v-if="labelText || $slots.labeltext" :class="['label-text', { hidden: !showLabel }]">
131
131
  <span>
132
- <template v-if="labelText">{{ labelText }}</template>
132
+ <!-- begin labelText for checkbox/radio/toggle-switch (without switch-label) -->
133
+ <span v-if="labelText" v-html="labelText"></span>
134
+ <!-- end labelText for checkbox/radio/toggle-switch (without switch-label) -->
135
+
133
136
  <!-- begin slot 'labeltext' -->
134
137
  <slot v-else name="labeltext"/>
135
138
  <!-- end slot 'labeltext' -->
139
+
136
140
  <sup v-if="$attrs.required">*</sup>
137
141
  </span>
138
142
  </span>
@@ -155,9 +159,11 @@
155
159
  <span class="label-text">{{ onLabel }}</span>
156
160
  <span class="label-text">{{ offLabel }}</span>
157
161
  </span>
162
+ <!-- begin labelText for checkbox/radio/toggle-switch (with switch-label) -->
158
163
  <span v-if="labelText" :class="['label-text', {hidden: !showLabel}]">
159
164
  <span v-html="labelText"></span><sup v-if="$attrs.required">*</sup>
160
165
  </span>
166
+ <!-- end labelText for checkbox/radio/toggle-switch (with switch-label) -->
161
167
  </template>
162
168
  <slot v-else></slot>
163
169
  <!-- end labels for toggle-switch with switch-label -->