@tagplus/components 4.9.0 → 4.9.1
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/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +2 -2
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Autosuggest/Autosuggest.vue +4 -2
- package/src/components/Loader/Loader.vue +9 -1
package/package.json
CHANGED
|
@@ -538,10 +538,12 @@ export default {
|
|
|
538
538
|
|
|
539
539
|
if (option) return option
|
|
540
540
|
|
|
541
|
-
const
|
|
541
|
+
const possuiValor = !isObject && !isNull && !isUndefined
|
|
542
|
+
const label = value
|
|
543
|
+
|
|
542
544
|
const newOption = {
|
|
543
545
|
value,
|
|
544
|
-
currentLabel: this.modifiedLabel || label
|
|
546
|
+
currentLabel: possuiValor ? this.modifiedLabel || label : ''
|
|
545
547
|
}
|
|
546
548
|
|
|
547
549
|
if (this.multiple) {
|
|
@@ -183,6 +183,13 @@ $numIcons: 8;
|
|
|
183
183
|
right: 0;
|
|
184
184
|
bottom: 0;
|
|
185
185
|
z-index: 5000;
|
|
186
|
+
transition: all ease-in-out 300ms;
|
|
187
|
+
|
|
188
|
+
&.hidden {
|
|
189
|
+
opacity: 0;
|
|
190
|
+
z-index: -10;
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
186
193
|
|
|
187
194
|
> .overlay {
|
|
188
195
|
position: absolute;
|
|
@@ -193,7 +200,8 @@ $numIcons: 8;
|
|
|
193
200
|
left: 0;
|
|
194
201
|
right: 0;
|
|
195
202
|
background-color: #fff;
|
|
196
|
-
|
|
203
|
+
border-radius: 8px 0 0 8px;
|
|
204
|
+
opacity: 0.5;
|
|
197
205
|
}
|
|
198
206
|
.wrapper {
|
|
199
207
|
text-align: center;
|