itube-specs 0.0.604 → 0.0.605
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.
|
@@ -122,6 +122,7 @@ const emit = defineEmits<{
|
|
|
122
122
|
(eventName: 'blur', event: FocusEvent): void
|
|
123
123
|
(eventName: 'enter', event: KeyboardEvent): void
|
|
124
124
|
(eventName: 'update:error', value: boolean): void
|
|
125
|
+
(eventName: 'icon-click'): void
|
|
125
126
|
}>()
|
|
126
127
|
|
|
127
128
|
const showText = ref(false)
|
|
@@ -158,6 +159,7 @@ function onButtonInputClick() {
|
|
|
158
159
|
if (props.type === 'password') {
|
|
159
160
|
showText.value = !showText.value
|
|
160
161
|
}
|
|
162
|
+
emit('icon-click')
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
const isDate = computed(() => props.type === 'date');
|