@burh/nuxt-core 1.0.505 → 1.0.506

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.
@@ -34,7 +34,7 @@
34
34
  </slot>
35
35
  </span>
36
36
  </div>
37
- <slot v-bind="slotData" v-if="type !== 'textarea'">
37
+ <slot v-bind="slotData">
38
38
  <template v-if="type === 'money'">
39
39
  <input
40
40
  :value="value"
@@ -52,7 +52,8 @@
52
52
  ]"
53
53
  />
54
54
  </template>
55
- <template v-if="type === 'date'">
55
+
56
+ <template v-else-if="type === 'date'">
56
57
  <el-date-picker
57
58
  :value="value"
58
59
  :type="type"
@@ -68,6 +69,23 @@
68
69
  ]"
69
70
  />
70
71
  </template>
72
+
73
+ <template v-else-if="type === 'textarea'">
74
+ <textarea
75
+ :value="value"
76
+ v-on="listeners"
77
+ v-bind="$attrs"
78
+ :required="required"
79
+ class="form-control form-control-textarea"
80
+ :valid="!error"
81
+ :class="[
82
+ { 'is-valid': valid === true },
83
+ { 'is-invalid': error },
84
+ inputClasses
85
+ ]"
86
+ />
87
+ </template>
88
+
71
89
  <template v-else>
72
90
  <input
73
91
  v-if="!mask.length"
@@ -101,21 +119,6 @@
101
119
  />
102
120
  </template>
103
121
  </slot>
104
- <slot v-bind="slotData" v-else>
105
- <textarea
106
- :value="value"
107
- v-on="listeners"
108
- v-bind="$attrs"
109
- :required="required"
110
- class="form-control form-control-textarea"
111
- :valid="!error"
112
- :class="[
113
- { 'is-valid': valid === true },
114
- { 'is-invalid': error },
115
- inputClasses
116
- ]"
117
- />
118
- </slot>
119
122
  <div v-if="appendIcon || $slots.append" class="input-group-append">
120
123
  <span class="input-group-text">
121
124
  <slot name="append">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.505",
3
+ "version": "1.0.506",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {