@nixweb/nixloc-ui 0.0.211 → 0.0.234

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.211",
3
+ "version": "0.0.234",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -24,7 +24,6 @@ export default {
24
24
  required: Boolean,
25
25
  initialValue: Array,
26
26
  value: Array,
27
- change: Function
28
27
  },
29
28
  data() {
30
29
  return {
@@ -40,12 +39,10 @@ export default {
40
39
  if (this.newItem) {
41
40
  this.tos.push(this.newItem);
42
41
  this.newItem = "";
43
- this.change();
44
42
  }
45
43
  },
46
44
  removeEmail(index) {
47
45
  this.tos.splice(index, 1);
48
- this.change();
49
46
  }
50
47
  },
51
48
  watch: {
@@ -1,24 +1,9 @@
1
1
  <template>
2
- <div>
3
- <Button
4
- v-if="obj.typeButton == 'default'"
5
- :key="row.id"
6
- :title="obj.button.title"
7
- :type="obj.button.type"
8
- :size="obj.button.size"
9
- :classIcon="obj.button.classIcon"
10
- :eventName="obj.button.eventName"
11
- :eventData="row"
12
- />
13
- <Dropdown
14
- v-if="obj.typeButton == 'dropdown'"
15
- :title="obj.button.title"
16
- :type="obj.button.type"
17
- :size="obj.button.size"
18
- :classIcon="obj.button.classIcon"
19
- :param="row"
20
- :items="obj.button.items"
21
- />
2
+ <div class="div-btn">
3
+ <Button v-if="obj.typeButton == 'default'" :key="row.id" :title="obj.button.title" :type="obj.button.type"
4
+ :size="obj.button.size" :classIcon="obj.button.classIcon" :eventName="obj.button.eventName" :eventData="row" />
5
+ <Dropdown v-if="obj.typeButton == 'dropdown'" :title="obj.button.title" :type="obj.button.type"
6
+ :size="obj.button.size" :classIcon="obj.button.classIcon" :param="row" :items="obj.button.items" />
22
7
  </div>
23
8
  </template>
24
9
 
@@ -34,3 +19,8 @@ export default {
34
19
  },
35
20
  };
36
21
  </script>
22
+ <style scoped>
23
+ .div-btn {
24
+ min-width: 80px;
25
+ }
26
+ </style>
@@ -31,7 +31,8 @@
31
31
  <div v-if="obj.type === 'dateTime'" :class="convertClass(row[obj.fieldComparison], obj.classCssBody)">
32
32
  {{ row[obj.field] | moment("DD/MM/YYYY HH:mm") }}
33
33
  </div>
34
- <div v-if="obj.type === 'currency'" :class="convertClass(row[obj.fieldComparison], obj.classCssBody)">
34
+ <div class="div-currency" v-if="obj.type === 'currency'"
35
+ :class="convertClass(row[obj.fieldComparison], obj.classCssBody)">
35
36
  {{ row[obj.field] | currency }}
36
37
  </div>
37
38
  <div v-if="obj.type === 'button'" :class="convertClass(row[obj.fieldComparison], obj.classCssBody)">
@@ -162,6 +163,10 @@ export default {
162
163
  border-radius: 20px;
163
164
  }
164
165
 
166
+ .div-currency {
167
+ min-width: 100px;
168
+ }
169
+
165
170
  .period-rent {
166
171
  cursor: pointer;
167
172
  }