@nixweb/nixloc-ui 0.0.246 → 0.0.248

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.246",
3
+ "version": "0.0.248",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -35,7 +35,6 @@ export default {
35
35
 
36
36
  <style scoped>
37
37
  .input {
38
- width: 150px;
39
38
  border: none;
40
39
  text-align: center;
41
40
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="div-header">
3
- <div class="title">Relatório {{ $route.params.name }}</span></div>
3
+ <div class="title">Relatório {{ $route.params.name }}</div>
4
4
  <div class="side-by-side div-tag" v-for="tag in tags" :key="tag.id">
5
5
  <span>{{ tag.title }}</span> <span>{{ tag.value }}</span>
6
6
  <span>,</span>
@@ -1,10 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div
4
- class="badge-side-by-side text-center"
5
- v-for="item in totalization"
6
- :key="item.title"
7
- >
3
+ <div class="badge-side-by-side text-center" v-for="item in totalization" :key="item.title">
8
4
  <div class="badge-totalization" :class="item.classCss">
9
5
  <span>{{ item.title }} </span>
10
6
  <span>{{ item.value | currency }}</span>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  </template>
25
25
  <script>
26
- import { mapState, mapGetters, mapActions, mapMutations } from "vuex";
26
+ import { mapState } from "vuex";
27
27
 
28
28
  export default {
29
29
  name: "TotalizationReport",
@@ -3,7 +3,7 @@
3
3
  <div class="div-main" v-if="data.listBillet.length > 0">
4
4
  <Alert type="danger">
5
5
  <span>
6
- ATENÇÃO, existem <b>{{ data.listBillet.length }}</b> boleto(s) em atraso, regularize e evite suspensão
6
+ ATENÇÃO, existe(m) <b>{{ data.listBillet.length }}</b> boleto(s) em atraso, regularize e evite suspensão
7
7
  do
8
8
  serviço!
9
9
  </span>
@@ -568,7 +568,7 @@ export default {
568
568
  })
569
569
  .then((response) => {
570
570
 
571
- let blob = new Blob([response.data], { type: "application/pdf" });
571
+ let blob = new Blob([response.data], { type: `application/${params.obj.fileType}` });
572
572
  let url = window.URL.createObjectURL(blob);
573
573
 
574
574
  let downloadLink = document.createElement("a");