@dataloop-ai/components 0.19.58 → 0.19.59

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.58",
3
+ "version": "0.19.59",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -262,6 +262,10 @@ export default defineComponent({
262
262
  )
263
263
  }
264
264
 
265
+ const show = () => (menuRef.value as any)?.show()
266
+
267
+ const hide = () => (menuRef.value as any)?.hide()
268
+
265
269
  return {
266
270
  menuProps,
267
271
  modelV,
@@ -280,7 +284,9 @@ export default defineComponent({
280
284
  handleBeforeHide,
281
285
  handleShow,
282
286
  handleHide,
283
- updateModelValue
287
+ updateModelValue,
288
+ hide,
289
+ show
284
290
  }
285
291
  }
286
292
  })