@deot/vc 1.0.36 → 1.0.37

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.
@@ -37381,7 +37381,13 @@ var Vc = (function (exports, vue) {
37381
37381
  close,
37382
37382
  searchRegex,
37383
37383
  multiple,
37384
- current: currentValue
37384
+ isActive,
37385
+ current: currentValue,
37386
+ // for portal
37387
+ toggle(v) {
37388
+ v = typeof v === "boolean" ? v : !isActive.value;
37389
+ isActive.value = v;
37390
+ }
37385
37391
  });
37386
37392
  return () => {
37387
37393
  return vue.createVNode(Popover, vue.mergeProps({
@@ -37384,7 +37384,13 @@
37384
37384
  close,
37385
37385
  searchRegex,
37386
37386
  multiple,
37387
- current: currentValue
37387
+ isActive,
37388
+ current: currentValue,
37389
+ // for portal
37390
+ toggle(v) {
37391
+ v = typeof v === "boolean" ? v : !isActive.value;
37392
+ isActive.value = v;
37393
+ }
37388
37394
  });
37389
37395
  return () => {
37390
37396
  return vue.createVNode(Popover, vue.mergeProps({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/vc",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,9 +19,9 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@deot/vc-components": "^1.0.36",
23
- "@deot/vc-hooks": "^1.0.36",
24
- "@deot/vc-shared": "^1.0.36"
22
+ "@deot/vc-components": "^1.0.37",
23
+ "@deot/vc-hooks": "^1.0.37",
24
+ "@deot/vc-shared": "^1.0.37"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "vue": "*"