@tagplus/components 1.0.0 → 1.0.6
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/demo.html +1 -10
- package/dist/fonts/bevi-bold.7e4dcd11.woff +0 -0
- package/dist/fonts/bevi-bold.873def84.woff2 +0 -0
- package/dist/fonts/bevi-medium.6187e050.woff2 +0 -0
- package/dist/fonts/bevi-medium.65b3056d.woff +0 -0
- package/dist/fonts/bevi-regular.c89f126e.woff +0 -0
- package/dist/fonts/bevi-regular.f81e4b8f.woff2 +0 -0
- package/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +180 -1
- 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 +1 -0
- package/src/components/OptionsListItem/OptionsListItem.vue +6 -0
- package/src/components/Step/Step.vue +3 -4
- package/src/utils/filters.js +4 -1
package/package.json
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<li
|
|
3
3
|
:id="id"
|
|
4
4
|
:class="['tp-options-list-item', itemType, active == optValue ? 'active' : '']"
|
|
5
|
+
tabindex="0"
|
|
5
6
|
@click="updateOption"
|
|
7
|
+
@keyup.enter="updateOption"
|
|
6
8
|
>
|
|
7
9
|
<div :class="['icon', direction]">
|
|
8
10
|
<i :class="[icon, 'options-icon']" />
|
|
@@ -171,6 +173,10 @@ export default {
|
|
|
171
173
|
|
|
172
174
|
}
|
|
173
175
|
|
|
176
|
+
.tp-options-list-item:focus{
|
|
177
|
+
border: 1px solid #437cf9;
|
|
178
|
+
}
|
|
179
|
+
|
|
174
180
|
.option-item-badge{
|
|
175
181
|
background-color: #F56C6C;
|
|
176
182
|
border: 1px solid #FFF;
|
|
@@ -143,10 +143,9 @@ export default {
|
|
|
143
143
|
},
|
|
144
144
|
|
|
145
145
|
watch: {
|
|
146
|
-
status (
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
146
|
+
status () {
|
|
147
|
+
this.updateStatus(this.$parent.active)
|
|
148
|
+
this.internalStatus = this.status
|
|
150
149
|
}
|
|
151
150
|
|
|
152
151
|
},
|
package/src/utils/filters.js
CHANGED
|
@@ -19,7 +19,10 @@ import { t } from 'tp-ui/locale'
|
|
|
19
19
|
* @param {Number} val
|
|
20
20
|
*/
|
|
21
21
|
export const toCurrency = (val) => {
|
|
22
|
-
return (parseInt(val * 100) / 100).toLocaleString(t('locale.prefix')
|
|
22
|
+
return (parseInt(val * 100) / 100).toLocaleString(t('locale.prefix'), {
|
|
23
|
+
minimumFractionDigits: 2,
|
|
24
|
+
maximumFractionDigits: 2
|
|
25
|
+
})
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|