@nixweb/nixloc-ui 0.0.50 → 0.0.51

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.50",
3
+ "version": "0.0.51",
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 id="page">
3
3
  <div id="header" :style="'background-color:' + corTopo">
4
- <!-- <a href="#menu"><span></span></a> -->
4
+ <a href="#menu"><span></span></a>
5
5
  </div>
6
6
  <nav id="menu">
7
7
  <div id="panel-menu">
@@ -62,7 +62,7 @@ export default {
62
62
  document.querySelector("#menu"),
63
63
  {
64
64
  backButton: {
65
- close: true,
65
+ close: false,
66
66
  },
67
67
  setSelected: {
68
68
  hover: false,
@@ -72,7 +72,7 @@ export default {
72
72
  add: true,
73
73
  },
74
74
  iconbar: {
75
- use: "(min-width: 450px)",
75
+ use: false,
76
76
  top: ['<a href="#/"><span class="fas fa-bars"></span></a>'],
77
77
  },
78
78
  searchfield: {
@@ -88,7 +88,7 @@ export default {
88
88
  },
89
89
  sidebar: {
90
90
  collapsed: {
91
- use: "(min-width: 450px)",
91
+ use: false,
92
92
  },
93
93
  expanded: {
94
94
  use: "(min-width: 1000px)",
@@ -106,7 +106,7 @@ export default {
106
106
  ],
107
107
  },
108
108
  {
109
- content: ["prev", "breadcrumbs", "close"],
109
+ content: ["prev", "breadcrumbs"],
110
110
  },
111
111
  ],
112
112
  },
@@ -119,7 +119,7 @@ export default {
119
119
  },
120
120
  },
121
121
  methods: {
122
- ...mapActions("generic", ["getApi", "deleteApi"]),
122
+ ...mapActions("generic", ["getApi", "deleteAllApi"]),
123
123
  ...mapMutations("generic", [
124
124
  "removeCarregando",
125
125
  "adicionaSelecao",
@@ -139,7 +139,7 @@ export default {
139
139
  url: this.modeloLista.urlRemoverTodosApi,
140
140
  selecionados: this.selecionados,
141
141
  };
142
- this.deleteApi(params).then(() => {
142
+ this.deleteAllApi(params).then(() => {
143
143
  this.removeCarregando(["remover"]);
144
144
  this.adicionaSelecao([]);
145
145
  });