toggle-components-library 1.22.0 → 1.22.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.22.0",
3
+ "version": "1.22.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -93,7 +93,7 @@ export default {
93
93
  */
94
94
  disableLinks() {
95
95
  this.$slots.default.forEach(slot => {
96
- slot.data.attrs.href = this.disabled || this.loading ? null : slot.data.attrs.href;
96
+ slot.data.attrs.href = this.disabled ? null : slot.data.attrs.href;
97
97
  })
98
98
  },
99
99
 
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
 
3
3
  <label class="toggle-input-checkbox" >
4
- <input type="checkbox" :name="name ? name : 'ToggleInputCheckbox' " v-model="inputVal" :disabled="disabled"/>
4
+ <input type="checkbox" :name="name ? name : 'ToggleInputCheckbox' " v-model="inputVal" :value="option" :disabled="disabled"/>
5
5
  <div>
6
6
  <span class="toggle-input-checkbox-check-element "></span>
7
7
  <span :class="[ 'toggle-input-checkbox-label', label_style ]" >{{label}}</span>
@@ -18,7 +18,10 @@ export default {
18
18
  mixins:[mixins],
19
19
  props: {
20
20
  value: {
21
- type: Boolean
21
+ type: [Boolean, Array]
22
+ },
23
+ option:{
24
+ type: [Number, String]
22
25
  },
23
26
  disabled: {
24
27
  type: Boolean