@eturnity/eturnity_reusable_components 1.2.27 → 1.2.28
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/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -59,11 +59,12 @@
|
|
|
59
59
|
:disabled="false"
|
|
60
60
|
/>
|
|
61
61
|
<br /> -->
|
|
62
|
-
<iconCollection />
|
|
62
|
+
<!-- <iconCollection /> -->
|
|
63
63
|
<input-text
|
|
64
64
|
placeholder="Enter distance"
|
|
65
65
|
:value="inputValue"
|
|
66
66
|
@input-change="onInputChange($event)"
|
|
67
|
+
@input-blur="onInputBlur($event)"
|
|
67
68
|
type="password"
|
|
68
69
|
/>
|
|
69
70
|
<br />
|
|
@@ -93,7 +94,7 @@ import InputText from '@/components/inputs/inputText'
|
|
|
93
94
|
// import Spinner from '@/components/spinner'
|
|
94
95
|
// import ExternalButton from '@/components/buttons/externalButton'
|
|
95
96
|
// import ProjectMarker from '@/components/projectMarker'
|
|
96
|
-
import iconCollection from '@/components/icon/iconCollection'
|
|
97
|
+
// import iconCollection from '@/components/icon/iconCollection'
|
|
97
98
|
// import Modal from '@/components/modals/modal'
|
|
98
99
|
// import TableDropdown from "@/components/tableDropdown"
|
|
99
100
|
|
|
@@ -115,14 +116,14 @@ export default {
|
|
|
115
116
|
// MainTable,
|
|
116
117
|
// ThreeDots,
|
|
117
118
|
// Toggle,
|
|
118
|
-
InputText
|
|
119
|
+
InputText
|
|
119
120
|
// PageSubtitle,
|
|
120
121
|
// Spinner,
|
|
121
122
|
// Checkbox,
|
|
122
123
|
// ExternalButton,
|
|
123
124
|
// Modal,
|
|
124
125
|
// ProjectMarker,
|
|
125
|
-
iconCollection
|
|
126
|
+
// iconCollection
|
|
126
127
|
// RowContainer
|
|
127
128
|
},
|
|
128
129
|
data() {
|
|
@@ -264,6 +265,9 @@ export default {
|
|
|
264
265
|
onInputChange(event) {
|
|
265
266
|
this.inputValue = event
|
|
266
267
|
},
|
|
268
|
+
onInputBlur(event) {
|
|
269
|
+
console.log(event)
|
|
270
|
+
},
|
|
267
271
|
isDropdownOpen() {
|
|
268
272
|
return this.dropdownOpen
|
|
269
273
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
:minWidth="minWidth"
|
|
23
23
|
:value="value"
|
|
24
24
|
@input="onChangeHandler"
|
|
25
|
+
@blur="onInputBlur"
|
|
25
26
|
:noBorder="noBorder"
|
|
26
27
|
:disabled="disabled"
|
|
27
28
|
:isDisabled="disabled"
|
|
@@ -154,6 +155,7 @@ export default {
|
|
|
154
155
|
// placeholder="Company name"
|
|
155
156
|
// :value="companyName"
|
|
156
157
|
// @input-change="onInputChange({ value: $event, type: 'companyName' })"
|
|
158
|
+
// @input-blur="onInputBlur($event)"
|
|
157
159
|
// :isError="checkErrors()"
|
|
158
160
|
// :errorMessage="This is my error message"
|
|
159
161
|
// infoTextAlign="right" // left by default
|
|
@@ -241,6 +243,9 @@ export default {
|
|
|
241
243
|
onChangeHandler($event) {
|
|
242
244
|
this.$emit('input-change', $event)
|
|
243
245
|
},
|
|
246
|
+
onInputBlur($event) {
|
|
247
|
+
this.$emit('input-blur', $event.target.value)
|
|
248
|
+
},
|
|
244
249
|
toggleShowPassword() {
|
|
245
250
|
this.inputTypeData =
|
|
246
251
|
this.inputTypeData === 'password' ? 'text' : 'password'
|