@dataloop-ai/components 0.20.38 → 0.20.40
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataloop-ai/components",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.40",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./index.ts",
|
|
6
6
|
"./models": "./models.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@dataloop-ai/icons": "^3.0.
|
|
26
|
+
"@dataloop-ai/icons": "^3.0.144",
|
|
27
27
|
"@types/flat": "^5.0.2",
|
|
28
28
|
"@types/lodash": "^4.14.184",
|
|
29
29
|
"@types/sortablejs": "^1.15.7",
|
|
@@ -590,8 +590,9 @@ export default defineComponent({
|
|
|
590
590
|
},
|
|
591
591
|
onChange(e: any): void {
|
|
592
592
|
this.isMenuOpen = true
|
|
593
|
-
|
|
594
|
-
this.$emit('
|
|
593
|
+
const trimmedValue = e.target.value.trim()
|
|
594
|
+
this.$emit('input', trimmedValue, e)
|
|
595
|
+
this.$emit('update:model-value', trimmedValue)
|
|
595
596
|
},
|
|
596
597
|
focus(): void {
|
|
597
598
|
const inputRef = this.$refs.input as HTMLInputElement
|