@nixweb/nixloc-ui 0.0.140 → 0.0.141

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.140",
3
+ "version": "0.0.141",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -26,6 +26,7 @@ export default {
26
26
  type: Array,
27
27
  default: [],
28
28
  },
29
+ value: String,
29
30
  },
30
31
  data() {
31
32
  return {
@@ -40,6 +41,7 @@ export default {
40
41
  execute(option) {
41
42
  this.selected = option.title;
42
43
  this.addEvent({ name: option.eventName, data: option });
44
+ this.$emit("input", option.value);
43
45
  },
44
46
  },
45
47
  };
@@ -186,6 +186,13 @@ export default {
186
186
  });
187
187
  return result;
188
188
  },
189
+ listIdToString: () => (listId) => {
190
+ var ids = "";
191
+ listId.forEach(function (id) {
192
+ ids += `${id},`;
193
+ });
194
+ return ids;
195
+ },
189
196
  },
190
197
  mutations: {
191
198
  openModal: (state, name) => {