@dataloop-ai/components 0.20.178-ds-v3.1 → 0.20.178-ds-v3.2
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
|
@@ -160,12 +160,16 @@ export default defineComponent({
|
|
|
160
160
|
this.$emit('search', this.modelValue)
|
|
161
161
|
},
|
|
162
162
|
focus(): void {
|
|
163
|
-
const inputComponent = this.$refs.input as
|
|
164
|
-
|
|
163
|
+
const inputComponent = this.$refs.input as InstanceType<
|
|
164
|
+
typeof DlInput
|
|
165
|
+
>
|
|
166
|
+
inputComponent?.focus()
|
|
165
167
|
},
|
|
166
168
|
blur(): void {
|
|
167
|
-
const inputComponent = this.$refs.input as
|
|
168
|
-
|
|
169
|
+
const inputComponent = this.$refs.input as InstanceType<
|
|
170
|
+
typeof DlInput
|
|
171
|
+
>
|
|
172
|
+
inputComponent?.blur()
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
})
|