@tagplus/components 2.0.1 → 2.0.3
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 +5 -5
- 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 -4
- package/src/components/Dialog/Dialog.vue +1 -1
- package/src/components/InputNumber/InputNumber.vue +10 -2
- package/src/components/Loader/Loader.vue +1 -1
- package/src/components/Multisuggest/Multisuggest.vue +5 -5
- package/src/components/OptionsListItem/OptionsListItem.vue +8 -8
- package/src/components/Step/Step.vue +3 -3
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
v-else
|
|
57
57
|
slot="prepend"
|
|
58
58
|
>
|
|
59
|
-
<
|
|
59
|
+
<em class="far fa-search" />
|
|
60
60
|
</template>
|
|
61
61
|
</template>
|
|
62
62
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
:justify="selectedLabel ? 'space-between' : 'end'"
|
|
74
74
|
align="middle"
|
|
75
75
|
>
|
|
76
|
-
<
|
|
76
|
+
<em
|
|
77
77
|
v-if="selectedLabel && !selectDisabled"
|
|
78
78
|
:id="`${_id}-btn-clear`"
|
|
79
79
|
class="fa fa-times-circle icon-close"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
class="dividerSuggest"
|
|
91
91
|
/>
|
|
92
92
|
|
|
93
|
-
<
|
|
93
|
+
<em
|
|
94
94
|
v-show="!showClose && !selectDisabled"
|
|
95
95
|
:id="`${_id}-btn-close`"
|
|
96
96
|
:class="['el-select__caret', 'el-input__icon', 'el-icon-' + iconClass]"
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
:class="{'created': item.created}"
|
|
130
130
|
>
|
|
131
131
|
<template v-if="item.created">
|
|
132
|
-
<a :id="`${_id}-btn-create`"><
|
|
132
|
+
<a :id="`${_id}-btn-create`"><em class="far fa-plus" /> {{ newItem }}</a>
|
|
133
133
|
</template>
|
|
134
134
|
<slot
|
|
135
135
|
v-else
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:class="{'is-disabled': minDisabled}"
|
|
18
18
|
@keydown.enter="decrease"
|
|
19
19
|
>
|
|
20
|
-
<
|
|
20
|
+
<em :class="`el-icon-${controlsAtRight ? 'arrow-down' : 'minus'}`" />
|
|
21
21
|
</span>
|
|
22
22
|
<span
|
|
23
23
|
v-if="controls"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
:class="{'is-disabled': maxDisabled}"
|
|
28
28
|
@keydown.enter="increase"
|
|
29
29
|
>
|
|
30
|
-
<
|
|
30
|
+
<em :class="`el-icon-${controlsAtRight ? 'arrow-up' : 'plus'}`" />
|
|
31
31
|
</span>
|
|
32
32
|
<el-input
|
|
33
33
|
ref="input"
|
|
@@ -347,9 +347,17 @@ export default {
|
|
|
347
347
|
this.setCurrentValue(newVal)
|
|
348
348
|
},
|
|
349
349
|
handleBlur (event) {
|
|
350
|
+
if (!this.value && this.stringDefaultsZero && !this.precision) {
|
|
351
|
+
this.currentValue = 0
|
|
352
|
+
}
|
|
353
|
+
|
|
350
354
|
this.$emit('blur', event)
|
|
351
355
|
},
|
|
352
356
|
handleFocus (event) {
|
|
357
|
+
if (!this.value && !this.precision) {
|
|
358
|
+
this.currentValue = ''
|
|
359
|
+
}
|
|
360
|
+
|
|
353
361
|
this.$emit('focus', event)
|
|
354
362
|
},
|
|
355
363
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
style="visibility: hidden;"
|
|
14
14
|
class="el-input-group__prepend"
|
|
15
15
|
>
|
|
16
|
-
<
|
|
16
|
+
<em class="far fa-search" />
|
|
17
17
|
</div>
|
|
18
18
|
<span v-if="collapseTags && selected.length">
|
|
19
19
|
<el-tooltip placement="top">
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
v-else
|
|
125
125
|
slot="prepend"
|
|
126
126
|
>
|
|
127
|
-
<
|
|
127
|
+
<em class="far fa-search" />
|
|
128
128
|
</template>
|
|
129
129
|
</template>
|
|
130
130
|
<template
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
:justify="selected.length ? 'space-between' : 'end'"
|
|
140
140
|
align="middle"
|
|
141
141
|
>
|
|
142
|
-
<
|
|
142
|
+
<em
|
|
143
143
|
v-if="selected.length && !selectDisabled"
|
|
144
144
|
:id="`${_id}-btn-clear`"
|
|
145
145
|
class="fa fa-times-circle icon-close"
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
class="dividerSuggest"
|
|
157
157
|
/>
|
|
158
158
|
|
|
159
|
-
<
|
|
159
|
+
<em
|
|
160
160
|
v-show="!showClose && !selectDisabled"
|
|
161
161
|
:id="`${_id}-btn-close`"
|
|
162
162
|
:class="['el-select__caret', 'el-input__icon', 'el-icon-' + iconClass]"
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
:class="{'created': item.created}"
|
|
196
196
|
>
|
|
197
197
|
<template v-if="item.created">
|
|
198
|
-
<a :id="`${_id}-btn-create`"><
|
|
198
|
+
<a :id="`${_id}-btn-create`"><em class="far fa-plus" /> Cadastrar {{ query ? `"${query}"` : "novo item" }}</a>
|
|
199
199
|
</template>
|
|
200
200
|
<slot
|
|
201
201
|
v-else
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@keyup.enter="updateOption"
|
|
8
8
|
>
|
|
9
9
|
<div :class="['icon', direction]">
|
|
10
|
-
<
|
|
10
|
+
<em :class="[icon, 'options-icon']" />
|
|
11
11
|
<p class="text">
|
|
12
12
|
<span
|
|
13
13
|
v-for="(text, index) in texts"
|
|
@@ -97,8 +97,8 @@ export default {
|
|
|
97
97
|
margin-top: 15px;
|
|
98
98
|
|
|
99
99
|
&.entrada {
|
|
100
|
-
@include option-list-item-hover(#
|
|
101
|
-
@include option-list-item-checked(#
|
|
100
|
+
@include option-list-item-hover(#08a19e);
|
|
101
|
+
@include option-list-item-checked(#08a19e);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&.saida {
|
|
@@ -118,6 +118,10 @@ export default {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
&:focus{
|
|
122
|
+
border: 1px solid #437cf9;
|
|
123
|
+
}
|
|
124
|
+
|
|
121
125
|
.icon {
|
|
122
126
|
color: #565b66;
|
|
123
127
|
display: flex;
|
|
@@ -132,7 +136,7 @@ export default {
|
|
|
132
136
|
min-width: 130px;
|
|
133
137
|
|
|
134
138
|
.text {
|
|
135
|
-
text-align:
|
|
139
|
+
text-align: center;
|
|
136
140
|
width: 70px;
|
|
137
141
|
|
|
138
142
|
span {
|
|
@@ -173,10 +177,6 @@ export default {
|
|
|
173
177
|
|
|
174
178
|
}
|
|
175
179
|
|
|
176
|
-
.tp-options-list-item:focus{
|
|
177
|
-
border: 1px solid #437cf9;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
180
|
.option-item-badge{
|
|
181
181
|
background-color: #F56C6C;
|
|
182
182
|
border: 1px solid #FFF;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
class="el-step__line"
|
|
18
18
|
:style="isLast ? '' : { marginRight: $parent.stepOffset + 'px' }"
|
|
19
19
|
>
|
|
20
|
-
<
|
|
20
|
+
<em class="el-step__line-inner" :style="lineStyle" />
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<div class="el-step__icon" :class="`is-${icon ? 'icon' : 'text'}`">
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
v-if="currentStatus !== 'success' && currentStatus !== 'error'"
|
|
26
26
|
name="icon"
|
|
27
27
|
>
|
|
28
|
-
<
|
|
28
|
+
<em v-if="icon" class="el-step__icon-inner" :class="[icon]" />
|
|
29
29
|
<div v-if="!icon && !isSimple" class="el-step__icon-inner">
|
|
30
30
|
{{ index + 1 }}
|
|
31
31
|
</div>
|
|
32
32
|
</slot>
|
|
33
|
-
<
|
|
33
|
+
<em
|
|
34
34
|
v-else
|
|
35
35
|
:class="['el-icon-' + (currentStatus === 'success' ? 'check' : 'close')]"
|
|
36
36
|
class="el-step__icon-inner is-status"
|