@nixweb/nixloc-ui 0.0.133 → 0.0.134

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": "@nixweb/nixloc-ui",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="c-div-button">
3
3
  <button
4
- :style="'background-color:' + backroundColor + ';color:' + color"
4
+ :style="'background-color:' + backGroundColor + ';color:' + color"
5
5
  class="button"
6
6
  :class="{
7
7
  small: size === 'small',
@@ -45,7 +45,7 @@ export default {
45
45
  type: String,
46
46
  size: String,
47
47
  color: String,
48
- backroundColor: String,
48
+ backGroundColor: String,
49
49
  eventName: String,
50
50
  eventData: Object,
51
51
  classIcon: String,
@@ -14,7 +14,7 @@
14
14
  :checkedBg="color"
15
15
  uncheckedBg="lightgrey"
16
16
  :disabled="disabled"
17
- :value="valor"
17
+ :value="value"
18
18
  @click="clicked"
19
19
  />
20
20
  </b-col>
@@ -43,16 +43,16 @@ export default {
43
43
  },
44
44
  data() {
45
45
  return {
46
- valor: false,
46
+ valueLocal: false,
47
47
  };
48
48
  },
49
49
  created() {
50
- this.valor = this.value;
50
+ this.valueLocal = this.value;
51
51
  },
52
52
  methods: {
53
53
  clicked() {
54
- this.valor = !this.valor;
55
- this.$emit("input", this.valor);
54
+ this.valueLocal = !this.valueLocal;
55
+ this.$emit("input", this.valueLocal);
56
56
  if (this.changed) this.changed(this.params);
57
57
  },
58
58
  },
@@ -15,7 +15,7 @@
15
15
  <div class="div-title">
16
16
  <span class="module">
17
17
  <span class="icon"><i class="fas fa-compass"></i></span>
18
- {{ module }} |</span
18
+ {{ module }} <span v-if="title">|</span></span
19
19
  >
20
20
  <span class="title"> {{ title }}</span>
21
21
  </div>
@@ -1,7 +1,8 @@
1
1
  export default {
2
2
  namespaced: true,
3
3
  state: {
4
- userLogged: {},
4
+ userLogged: {
5
+ },
5
6
  menu: {
6
7
  items: []
7
8
  },