@dataloop-ai/components 0.19.199 → 0.19.201

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.19.199",
3
+ "version": "0.19.201",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -752,7 +752,17 @@ export default defineComponent({
752
752
  if (StateManager.instance.disableDebounce) {
753
753
  return handleEnterKey
754
754
  }
755
- return debounce(handleEnterKey, inputDebounce.value ?? 100)
755
+ const debounced = debounce(
756
+ handleEnterKey,
757
+ inputDebounce.value ?? 100
758
+ )
759
+ return function (parameters: { fromSuggestion?: boolean }) {
760
+ if (parameters?.fromSuggestion) {
761
+ handleEnterKey(parameters)
762
+ } else {
763
+ debounced(parameters)
764
+ }
765
+ }
756
766
  })
757
767
 
758
768
  const onEscapeKey = () => {