@deot/vc-components 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.
package/dist/index.cjs CHANGED
@@ -11989,7 +11989,13 @@ const Select = /* @__PURE__ */ vue.defineComponent({
11989
11989
  close,
11990
11990
  searchRegex,
11991
11991
  multiple,
11992
- current: currentValue
11992
+ isActive,
11993
+ current: currentValue,
11994
+ // for portal
11995
+ toggle(v) {
11996
+ v = typeof v === 'boolean' ? v : !isActive.value;
11997
+ isActive.value = v;
11998
+ }
11993
11999
  });
11994
12000
  return () => {
11995
12001
  return vue.createVNode(Popover, vue.mergeProps({
@@ -20695,7 +20695,13 @@ var VcComponents = (function (exports, vue) {
20695
20695
  close,
20696
20696
  searchRegex,
20697
20697
  multiple,
20698
- current: currentValue
20698
+ isActive,
20699
+ current: currentValue,
20700
+ // for portal
20701
+ toggle(v) {
20702
+ v = typeof v === 'boolean' ? v : !isActive.value;
20703
+ isActive.value = v;
20704
+ }
20699
20705
  });
20700
20706
  return () => {
20701
20707
  return vue.createVNode(Popover, vue.mergeProps({
package/dist/index.js CHANGED
@@ -11967,7 +11967,13 @@ const Select = /* @__PURE__ */ defineComponent({
11967
11967
  close,
11968
11968
  searchRegex,
11969
11969
  multiple,
11970
- current: currentValue
11970
+ isActive,
11971
+ current: currentValue,
11972
+ // for portal
11973
+ toggle(v) {
11974
+ v = typeof v === 'boolean' ? v : !isActive.value;
11975
+ isActive.value = v;
11976
+ }
11971
11977
  });
11972
11978
  return () => {
11973
11979
  return createVNode(Popover, mergeProps({
@@ -20698,7 +20698,13 @@
20698
20698
  close,
20699
20699
  searchRegex,
20700
20700
  multiple,
20701
- current: currentValue
20701
+ isActive,
20702
+ current: currentValue,
20703
+ // for portal
20704
+ toggle(v) {
20705
+ v = typeof v === 'boolean' ? v : !isActive.value;
20706
+ isActive.value = v;
20707
+ }
20702
20708
  });
20703
20709
  return () => {
20704
20710
  return vue.createVNode(Popover, vue.mergeProps({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/vc-components",
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",