@nixweb/nixloc-ui 0.0.258 → 0.0.260

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.258",
3
+ "version": "0.0.260",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,9 +1,11 @@
1
1
  <template>
2
2
  <div class="main side-by-side">
3
3
  <div class="molded-totalization" @click="execute">
4
- <div class="title">{{ title }}</div>
4
+ <div class="title">{{ title }}
5
+ <span v-if="discount > 0" class="div-discount">{{ discount }}%</span>
6
+ </div>
5
7
  <div class="value" :class="{ clicked: clicked }" v-if="currency" :style="_style">
6
- <span v-if="discount > 0" class="div-discount">{{ discount }}%</span> {{ value | currency }}
8
+ {{ value | currency }}
7
9
  <span class="icon-edit" v-if="clicked">
8
10
  <i class="fa-solid fa-pen-to-square"></i>
9
11
  </span>
@@ -78,7 +80,7 @@ export default {
78
80
  width: 12px;
79
81
  border-radius: 10px;
80
82
  color: white;
81
- font-size: 11px !important;
83
+ font-size: 10px !important;
82
84
  padding: 3px;
83
85
  }
84
86
  </style>
@@ -21,7 +21,6 @@ export default {
21
21
  let sum = [];
22
22
  this.d.itensLocacao.forEach((item) => {
23
23
  if (item.grupo === grupo) {
24
- console.log(item);
25
24
  sum.push(item.totalValue);
26
25
  }
27
26
  });
@@ -60,7 +60,9 @@
60
60
  <div>
61
61
  <div class="a4">
62
62
  <div id="printMe">
63
- <DocumentPreview :template="documentPreview('dev')" :d="parameterExemple" />
63
+ <div :style="styleCss">
64
+ <DocumentPreview :template="documentPreview('dev')" :d="parameterExemple" />
65
+ </div>
64
66
  </div>
65
67
  </div>
66
68
  </div>
@@ -114,6 +116,7 @@ export default {
114
116
  panel: Object,
115
117
  parameterExemple: Object,
116
118
  parameterLegend: Array,
119
+ styleCss: String,
117
120
  module: String,
118
121
  },
119
122
  data() {