@nixweb/nixloc-ui 0.0.192 → 0.0.194

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.192",
3
+ "version": "0.0.194",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -110,6 +110,7 @@ export default {
110
110
  },
111
111
  value() {
112
112
  this.valueLocal = this.value;
113
+ if (this.markFormDirty) this.updateFormDirty(true);
113
114
  },
114
115
  notifications() {
115
116
  let self = this;
@@ -51,6 +51,7 @@ export default {
51
51
  decrement() {
52
52
  if (!this.disabled) {
53
53
  this.number--;
54
+ if (this.number < 0) this.number = 0;
54
55
  this.executeFilter();
55
56
  }
56
57
  },
@@ -11,7 +11,7 @@
11
11
  <i v-if="size === 'small'" :class="option.icon" :style="option.iconStyle"></i>
12
12
  {{ option.title }}
13
13
  </span>
14
- <div v-if="size === 'medium'" class="icon" :style="'font-size:' + option.iconSize + 'px;'">
14
+ <div v-if="size === 'medium'" class="icon div-icon" :style="'font-size:' + option.iconSize + 'px;'">
15
15
  <i :class="option.icon" :style="option.iconStyle"></i>
16
16
  </div>
17
17
  </div>
@@ -147,4 +147,9 @@ export default {
147
147
  color: grey;
148
148
  opacity: 0.5;
149
149
  }
150
+
151
+ .div-icon{
152
+ margin-right: 10px;
153
+ }
154
+
150
155
  </style>
@@ -127,6 +127,7 @@ export default {
127
127
  beforeDestroy() {
128
128
  let search = { content: "", filter: { content: "Contém", id: "contains" } };
129
129
  this.updateSearch(search);
130
+ this.cleanTags();
130
131
  },
131
132
  computed: {
132
133
  ...mapState("generic", [
@@ -1,24 +1,10 @@
1
1
  <template>
2
2
  <div>
3
- <Panel
4
- :module="panel.module"
5
- :title="panel.title"
6
- :showFilter="panel.showFilter"
7
- :showSearch="panel.showSearch"
8
- :showButtons="panel.showButtons"
9
- >
3
+ <Panel :module="panel.module" :title="panel.title" :showFilter="panel.showFilter" :showSearch="panel.showSearch"
4
+ :showButtons="panel.showButtons">
10
5
  <div slot="content-main">
11
- <SelectOption
12
- :title="title"
13
- :titleSize="18"
14
- buttonSize="large"
15
- buttonClassIcon="fas fa-arrow-circle-right"
16
- :width="180"
17
- :height="190"
18
- :options="options"
19
- v-model="selectedOption"
20
- :clickedNext="execute"
21
- />
6
+ <SelectOption :title="title" :titleSize="18" buttonSize="large" buttonClassIcon="fas fa-arrow-circle-right"
7
+ :width="140" :height="130" :options="options" v-model="selectedOption" :clickedNext="execute" />
22
8
  </div>
23
9
  </Panel>
24
10
  </div>