@burh/nuxt-core 1.0.448 → 1.0.449

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.
@@ -2,7 +2,7 @@
2
2
  <li class="performance-item" :class="primary && ' primary'">
3
3
  <span class="performance-item--title">{{ formatedTitle }}</span>
4
4
  <span v-if="!skeleton" class="performance-item--value">{{
5
- value > 999 ? formatedValue + ' mil' : formatedValue + ''
5
+ formatedValue
6
6
  }}</span>
7
7
  <span
8
8
  v-if="skeleton"
@@ -33,9 +33,9 @@ export default {
33
33
  },
34
34
  computed: {
35
35
  formatedValue() {
36
- if (this.value > 999) return this.value / 1000;
36
+ // if (this.value > 999) return this.value / 1000;
37
37
 
38
- return this.value;
38
+ return this.value.toLocaleString('pt-BR');
39
39
  },
40
40
  formatedTitle() {
41
41
  const title = this.title.toLowerCase();
@@ -92,13 +92,12 @@
92
92
  v-for="(slot, idx) in slots"
93
93
  :key="idx"
94
94
  >
95
- <!-- <label for="name">Nome</label> -->
96
95
  <div class="col-6">
97
96
  <validation-provider
98
97
  tag="div"
99
98
  :vid="`send-name-${idx}`"
100
99
  name="Nome"
101
- rules="required"
100
+ rules="required|alpha_spaces|regex:\w+\s+\w+"
102
101
  v-slot="{ errors }"
103
102
  >
104
103
  <label for="email">Nome</label>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.448",
3
+ "version": "1.0.449",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {