@nixweb/nixloc-ui 0.0.288 → 0.0.289

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.288",
3
+ "version": "0.0.289",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -33,8 +33,10 @@
33
33
  <div v-if="!isValid">
34
34
  <Alert type="info">
35
35
  <span>
36
- É necessário informar o filtro <b>{{ fieldsRequired }}</b>, clique no botão <b> <i
37
- class="div-icon-btn fa-sharp fa-solid fa-filters" aria-hidden="true"></i> Filtros
36
+ É necessário informar o filtro <div class="badge badge-default">
37
+ {{ fieldsRequired }}
38
+ </div>, clique no botão <b> <i class="div-icon-btn fa-sharp fa-solid fa-filters"
39
+ aria-hidden="true"></i> Filtros
38
40
  </b>para
39
41
  adicionar.
40
42
  </span>
@@ -298,4 +300,9 @@ export default {
298
300
  color: red;
299
301
  cursor: pointer;
300
302
  }
303
+
304
+ .badge-default {
305
+ background-color: #eeeeee;
306
+ font-size: 13px !important;
307
+ }
301
308
  </style>
@@ -24,7 +24,8 @@
24
24
  <b-col sm="9" v-if="!showCapture">
25
25
  <div class="side-by-side" v-for="attachment in attachments">
26
26
  <div class="text-center box-file">
27
- <div class="div-image" v-if="attachment.extension == '.png' || attachment.extension == '.jpg'"
27
+ <div class="div-image"
28
+ v-if="attachment.extension == '.png' || attachment.extension == '.jpg'"
28
29
  @click="openImage(baseUrl + attachment.fileName)">
29
30
  <img class="img" :src="baseUrl + attachment.fileName">
30
31
  </div>
@@ -165,7 +166,7 @@ export default {
165
166
  });
166
167
  },
167
168
  async loadFiles() {
168
- this.hideModal("confirm");
169
+ if (this.showInModal) this.hideModal("confirm");
169
170
  this.loading = true;
170
171
  let self = this;
171
172
  for (const file of this.files) {
@@ -219,8 +220,7 @@ export default {
219
220
  if (this.$refs.webcam) {
220
221
  this.$refs.webcam.stop();
221
222
  this.showCapture = false;
222
- if (this.showInModal)
223
- this.hideModal();
223
+ if (this.showInModal) this.hideModal();
224
224
  }
225
225
  },
226
226
  captureImage() {
@@ -276,7 +276,7 @@ export default {
276
276
  },
277
277
  };
278
278
  </script>
279
-
279
+
280
280
  <style scoped>
281
281
  .file {
282
282
  position: relative;
@@ -385,6 +385,4 @@ export default {
385
385
  .div-btn {
386
386
  margin-bottom: 50px;
387
387
  }
388
- </style>
389
-
390
-
388
+ </style>
@@ -114,7 +114,7 @@ export default {
114
114
  type: item.type,
115
115
  originalValue: item.value,
116
116
  required: item.required,
117
- value: item.type == "decimal" ? [item.valueStart, item.valueEnd].join(',') : Array.isArray(item.value) ? item.value.join(',') : item.value
117
+ value: item.type == "decimal" ? [item.valueStart, item.valueEnd].join('<>') : Array.isArray(item.value) ? item.value.join('<>') : item.value
118
118
  }));
119
119
  },
120
120
  },